Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Leaving out a framework can shrink the JavaScript a browser has to download, parse and run, but it does not make a web tool fast on a phone by itself. Speed is judged on the whole page, from the first byte through the first tap, and it is best confirmed with measurements taken from real visits. This guide does not benchmark a particular project. It pulls together current published guidance and one detailed developer case study, and it separates what those sources establish from what they only suggest.

What “fast” means in measurable terms

Google’s Core Web Vitals guidance on web.dev (last updated 31 October 2024) reduces page experience to three measurements. Each has a “good” threshold, and each is assessed at the 75th percentile of page loads, separately for mobile and desktop.

Metric What it measures Good threshold
Largest Contentful Paint (LCP) How quickly the main content becomes visible 2.5 seconds or less
Interaction to Next Paint (INP) How quickly the page responds to clicks, taps and key presses 200 milliseconds or less
Cumulative Layout Shift (CLS) How much visible content moves unexpectedly while loading 0.1 or less

The 75th percentile matters because an average can hide the experience of many users. If three out of four mobile visits meet a threshold, the page passes that threshold for the measured group. A tool that feels instant on a fast laptop over office Wi-Fi can still fail on a mid-range phone on a weak cellular connection, and the percentile view is what reveals that gap.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Lab scores and field data answer different questions

Lab tests and field measurements are both useful, but they do different jobs:

  • Lab tests run in a controlled, simulated environment. Google’s guidance describes lab measurement as the best way to test the performance of features during development, before they reach users. Use it to catch regressions as you change code.
  • Lab tests cannot represent everything. A simulated device and network cannot reflect the full range of hardware, connections and user interactions that real visitors bring.
  • Field data shows what visitors actually experience. Use it to judge whether the tool performs well in practice, and treat a good lab score as a starting point rather than proof.

The developer behind the case study discussed below reports Lighthouse scores of 100 for Performance, Accessibility, Best Practices and SEO on that portfolio site, and invites readers to rerun Lighthouse themselves. Those are self-reported lab results for one site on the date of that report. Rerunning Lighthouse on your own page is a worthwhile check, but it does not replace field data for your users.

What dropping a framework actually changes

The most direct effect of a framework-free build is on shipped code: there is no framework runtime to download, parse and execute before the tool becomes interactive. That saving is real, but its size depends on how much of the framework the tool would have used. The other effects appear on the maintenance side, where the trade-offs are easier to miss.

Comparison axis What to check in a framework-free build Why it matters
Initial load and interaction on mobile LCP and INP on a mid-range phone over a throttled connection Shipped JavaScript is only one input to load and responsiveness
Shipped JavaScript and browser work Total bytes shipped and long tasks on the main thread Less code helps, but poorly structured vanilla code can still block input
Lab versus field results Lighthouse results compared with field LCP, INP and CLS at the 75th percentile Lab scores cannot show real-world variation
Accessibility and reduced motion Keyboard focus, landmarks, screen-reader behavior, and a reduced-motion path for animation Speed does not offset an interface that some users cannot operate
Maintenance and dependencies Who owns the router, build step, state handling and any polyfills Fewer dependencies, but more hand-written code to maintain
Routes and caching Whether the tool is multi-page or single-page, and which routes need precaching Decides whether framework routing would add value or overhead

Techniques from a framework-free build

The developer case study describes the implementation of one portfolio site built with vanilla HTML, CSS and JavaScript. The techniques below are that site’s reported choices. They are worth testing and adapting, but the source does not show that they produce the same results for other tools.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
HTML and CSS: Design and Build Websites
  • HTML CSS Design and Build Web Sites
  • Comes with secure packaging
  • It can be a gift option

Self-hosted, subsetted WOFF2 fonts

Hosting fonts on your own domain avoids a separate third-party request, and subsetting removes glyphs the page never uses. WOFF2 is the compressed web font format. Check that the fonts you keep still cover every language and character set the tool displays.

Responsive images in AVIF and WebP

The case study pairs AVIF and WebP sources with srcset and sizes, so the browser can choose an image sized for the screen. A simple pattern looks like this:

<img src="chart-600.webp"
     srcset="chart-400.webp 400w, chart-600.webp 600w, chart-1200.webp 1200w"
     sizes="(max-width: 600px) 100vw, 600px"
     width="600" height="400" alt="Monthly usage chart">

Explicit width and height attributes reserve space before the image loads, which helps keep CLS low. The filenames here are placeholders for your own assets.

Deferred JavaScript and lazy initialization

The case study defers its JavaScript and initializes features only when they are needed, using IntersectionObserver to start work when an element approaches the viewport. This keeps the first screen’s work small. The risk is that a feature which initializes late can stall the first interaction if its setup is heavy, so test the first tap on a slow device, not just the page load.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Minified CSS and JavaScript

Minification removes whitespace and shortens identifiers in the shipped files. It is a build step, not a substitute for writing less code, but it is an inexpensive way to reduce transfer size.

A reduced-motion path for animation

The site includes an animated canvas and a reduced-motion path for it. Respecting the user’s motion preference is an accessibility requirement as much as a performance choice, and it is a useful fallback on low-powered devices.

Rank #4
Sale
Web Design with HTML, CSS, JavaScript and jQuery Set
  • Brand: Wiley
  • Set of 2 Volumes
  • A handy two-book set that uniquely combines related technologies Highly visual format and accessible language makes these books highly effective learning tools Perfect for beginning web designers and front-end developers

Semantic structure, visible focus and screen-reader support

The case study names semantic landmarks, visible keyboard focus and screen-reader support as part of the build. A framework-free page has no component library to supply these by default, so each one needs to be written and tested deliberately.

Static hosting and a small edge function

Static assets are served from Cloudflare Pages, and a small Cloudflare Worker handles language routing. Keeping routing at the edge, instead of shipping a client-side router, means the browser does not download routing code. The trade-off is that the routing logic now lives in a separate deployment target that also needs testing.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Architecture: multi-page or single-page

A framework-free build is not the same decision as a single-page architecture. Architecture should follow what the product needs. The Ele.me case study on web.dev, published in 2017, is a useful comparison because it kept a multi-page design. Its team combined preloading of critical resources with a service worker that precached important pages, and it chose the multi-page model because its services were maintained separately.

What the Ele.me figures show, and what they do not

  • Loading time fell 11.6% across pages the service worker precached.
  • Average loading time fell 6.35% across all of its pages.
  • Time to consistently interactive on the first load over 3G reached 4.93 seconds.

These are that project’s historical results, measured under its own conditions in 2017. They show what precaching and preloading achieved for one multi-page PWA, not what any other tool will gain. The same case study used Vue.js server-side rendering for skeleton screens, so it is a comparison of architecture, not an example of a no-framework build. Ele.me’s product manager summarized the outcome this way: “After we released the ele.me PWA, our loading times have dropped significantly, transforming our mobile web experience into one of the fastest food reservation sites in China.”

Choosing between the two models

  • A small, mostly static tool with a few pages usually has little to gain from client-side routing, and a multi-page design with careful caching is often enough.
  • A tool with many linked states, shared components and several developers may justify a framework’s structure, even though it adds shipped code.
  • A tool that must work offline or return quickly on repeat visits benefits from precaching, whichever model it uses.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

A checklist for measuring a framework-free mobile tool

  1. Set budgets for LCP (2.5 seconds or less), INP (200 milliseconds or less) and CLS (0.1 or less), and record them for mobile and desktop separately.
  2. Open Chrome DevTools, go to the Lighthouse panel, choose the mobile option, and run an audit with throttling enabled. Save the report so you can compare changes over time.
  3. Check field data for the same pages at the 75th percentile, and compare it with your lab results. Large gaps usually point to devices or networks your test setup does not cover.
  4. In the Performance panel, record a page load on a throttled mid-range profile and look for long tasks that delay the first interaction.
  5. Test the main workflows with the keyboard alone and with a screen reader, and confirm that animation can be turned off through the reduced-motion path.
  6. Test on a real mid-range phone over a cellular-speed connection before release. Simulation is useful, but a physical device catches problems that a desktop profile does not.

Troubleshooting common results

  • Good lab score, poor field LCP. Check whether the largest element loads from a slow origin, and whether images are sized for the real screen and not the desktop.
  • Good load time, poor INP. Look for heavy event handlers or setup work that runs at first interaction. Deferring that work can help, but only if the deferred work is small enough to respond promptly.
  • CLS problems after images or fonts load. Confirm that every image has dimensions and that font swapping does not reflow the text in a visible way.

Where a framework still makes sense

Avoiding a framework removes one source of shipped code and one layer of abstraction. It does not remove the need for state management, testing and accessibility work, and a tool that grows into many interdependent screens may spend more effort maintaining hand-written code than it saves in bytes.

The Bottom Line

Going framework-free is a sound choice for a small, focused tool, provided you measure the outcome. The speed you get comes from keeping the first screen light, deferring non-essential work, sizing images and reserving space for them, and checking field data at the 75th percentile on real mid-range phones. The absence of a library is only one part of that.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.