Web Tech

20 Website Speed Optimisation Techniques We Actually Use

Website speed optimization performance

Page speed affects conversion, SEO rankings, and bounce rate. Every extra second of load time costs about 7% of conversions. The fixes are well-known. The discipline to actually ship them is the rare part.

The Return of Server-Rendered HTML

The SPA-everything era has ended, at least for content-heavy sites. Server-rendered HTML with progressive enhancement is back in fashion for good reasons: faster first paint, better SEO, simpler mental model, smaller client bundles. Astro, Remix, Next.js App Router are all pushing this direction.

This doesn't mean SPAs are dead. Dashboards and deeply interactive apps are still best served by client-heavy React. But for marketing sites, blogs, and most e-commerce, HTML-first is winning again.

Picking a Stack in 2026

The JavaScript ecosystem has settled into a set of pragmatic defaults. Next.js for full-stack apps. Astro for content sites. Plain React with Vite for dashboards and SPAs. SvelteKit as a compelling alternative for teams who want it.

The useful decision is not "what's the best framework" but "what fits this specific project and team". Frameworks are tools. Tools should be picked for jobs.

The Performance Floor Has Moved

What counts as an acceptable page load has shifted. A site that took four seconds to load in 2018 was fine. In 2026, that site is actively hurting conversion and SEO. The floor is now around 2.5 seconds for LCP, with top performers hitting sub-1.5 seconds.

Getting there isn't hard anymore. Modern hosting, modern image formats, sensible JS discipline. The bar is higher but the tools to clear it are better too.

The Build Tool Reality

Webpack, Vite, esbuild, Turbopack, rspack — the JavaScript build tool landscape keeps shifting. For new projects in 2026, Vite is the sane default. It's fast, well-maintained, and has excellent integration with every major framework. Webpack remains in legacy projects where migration isn't worth the disruption.

The thing to watch is how much time your build tool actually takes in your developer workflow. If you're waiting more than a few seconds for a dev reload, the tool is stealing productivity from every engineer on the team. The switching cost to a faster tool usually pays back within weeks. Related read: our post on Next.js vs React vs Astro covers the flip side of this.

Accessibility Is No Longer Optional

Legal requirements are catching up in multiple regions. The EU Accessibility Act is in force. India's RPwD Act applies to many categories of digital products. Lawsuits and regulatory action against non-compliant sites are increasing.

Also: accessible sites are better sites. They usually have better SEO, better mobile UX, and better conversion. The accessibility tax is lower than people fear, and the benefit extends beyond compliance.

How We Decide on Client Projects

Short decision tree. Marketing site or blog? Astro. E-commerce frontend? Next.js or headless Shopify. SaaS dashboard or app? Next.js or React + Vite. Internal tool? React + Vite. Content-heavy with some interactivity? Astro with React islands.

That's literally how we choose. It's not clever. It works.

Progressive Enhancement in 2026

Progressive enhancement, the idea that a site should work with minimal JavaScript and get better as more loads, fell out of fashion during the SPA-everything era. It's coming back, and for good reasons. Server-rendered HTML works on more devices, indexes better, and fails more gracefully when things go wrong.

Modern frameworks make this easier than it was a decade ago. Next.js App Router, Remix, Astro, SvelteKit — they all default to server-rendered HTML with progressive client hydration. You get the SPA-like experience when conditions allow, and a working site when they don't. That's a better architecture than SPA-first for almost every public-facing project.

The Web Platform in 2026

The web platform itself has continued evolving in ways that matter for developers. Modern CSS (container queries, cascade layers, :has() selector) makes it possible to build responsive designs without the JavaScript-heavy approaches of earlier eras. View Transitions API enables native-feeling page transitions. Web Components have quietly become more usable. These additions reduce the amount of framework magic needed for common patterns.

Frameworks themselves have matured and stabilised. Next.js, Remix, SvelteKit, Astro, and SolidStart all offer legitimate approaches to modern web development. The choice between them is more about fit than quality. React remains the default for apps, but the ecosystem around it has diversified in healthy ways.

Browser differences have mostly stabilised too. Chrome, Firefox, and Safari all support the same modern web APIs within reasonable tolerance. The IE era of painful cross-browser development is a distant memory. This is genuinely good for web developers — the platform is more capable and more consistent than it's ever been.

Web Development Myths Worth Ignoring

One: 'framework X is the best'. Context-dependent. Different frameworks win at different use cases. Picking on vibes rather than fit wastes months of team productivity.

Two: 'you need a JavaScript framework'. For many content sites, you really don't. Astro, Eleventy, or even hand-written HTML with sprinkles of JS produce better results for certain use cases than React ever will.

Three: 'optimising for performance hurts developer experience'. False. Modern tools (Vite, Turbopack, esbuild) give you fast dev experience AND fast production sites. That trade-off used to exist; it largely doesn't now.

A Framework Pick That Aged Well

In mid-2024 we built a content-heavy marketing site for a client who'd been burned by a previous React-heavy build that was slow and hard to maintain. The project was perfect for Astro, which had just hit version 3.

The bet was on a technology that was newer and less proven than the alternatives. We made it because Astro's island architecture was obviously the right shape for their problem: mostly static content with a few interactive islands. If we'd picked Next.js, it would have worked, but we'd have been fighting the tool for the whole project.

Two years later the site is still fast, still easy to maintain, and the client adds content themselves. Astro turned out to be the right call for that specific project. Not because Astro is the best framework in some absolute sense, but because it matched the problem. That framing — "what's the right tool for this problem" — is more useful than any framework ranking.

The Short Checklist

If you take nothing else from this post, take this checklist. It's what we'd hand to someone just starting out in this area. None of it is revolutionary. All of it is worth doing. The compound effect of consistently doing these things, even without any other clever moves, is meaningful over a year or two. We'd rather see a team do the checklist competently than chase the latest trend while skipping the fundamentals.

  1. Set performance budgets in your CI pipeline. Fail builds that exceed them.
  2. Use modern image formats. WebP at a minimum, AVIF if you can.
  3. Defer non-critical JavaScript. Every millisecond on main thread matters.
  4. Test with actual assistive technology. Automated tools catch 30%.
  5. Pick your JS framework deliberately, not fashionably.
  6. Monitor real-user metrics, not just lab ones.
  7. Run Lighthouse on production weekly. Small regressions compound.
  8. Review your top 5 landing pages monthly for performance and conversion.
  9. Keep dependencies updated. Long-unpatched dependencies accumulate risk.
  10. Test with real assistive technology at least quarterly.

The main thing we'd say after all of this: take it seriously, but don't overthink it. Most of the big wins come from executing the basics well, not from finding the one clever trick nobody else knows. Start small, measure what happens, iterate based on what you learn. If you do that consistently for twelve months, you'll be in a materially better place than you are today. The difference between most successful and most struggling teams is rarely about intelligence or strategy — it's about whether they kept the discipline long enough for compound improvement to kick in. We've been through enough cycles of this to be confident saying it. The patient teams win.

A final note from our side. The best clients we've worked with weren't the ones who came to us with everything figured out. They were the ones who knew their business, had clear questions, and were open about what they didn't know yet. If that sounds like you, we'd love to talk.

Frequently Asked Questions

What's the single most impactful website speed optimization?

Switching to modern image formats (WebP or AVIF) and serving appropriately-sized responsive images. Images are usually 50-70% of total page weight, and modern formats cut that by 25-60%. One deploy, massive impact. Most other optimizations pale in comparison.

Is a CDN really worth it for a small business site?

Yes, even for small sites, especially with global audience. Cloudflare's free tier provides CDN, basic DDoS protection, and SSL at no cost — it's hard to find a reason not to use it. Performance improvement is noticeable even for sites primarily serving domestic traffic.

Should I worry about third-party scripts for performance?

Yes, urgently. Third-party scripts (analytics, chat widgets, ads, retargeting pixels) are often the biggest performance drag on otherwise-well-built sites. Audit what you're loading, load non-critical ones with defer, and remove anything you don't actively use. Every third-party script is a performance tax you're paying.

How fast does my site need to be in 2026?

LCP under 2.5 seconds, ideally under 1.5. Total interactive time under 3 seconds. For comparison, the top 10% of sites hit sub-1.5-second LCP. The bar has moved significantly since 2020, and users notice slow sites more than they used to. Sub-2-second loads are now the expectation, not the exception.

Need help with your project?

Orange Essence Technologies builds e-commerce, software, mobile apps and AI solutions for clients across India and around the world. If any of this is relevant to what you're working on, we'd love to chat.

Get in touch →