Skip to content

Front-end optimisation

How fast a page really feels is decided in the browser. This category collects articles on the front-end side of optimisation: image formats and responsive sizes, web fonts and their loading behaviour, CSS delivery and critical styles, JavaScript bundles and how to split them, deferred loading, third-party scripts and their side effects. We explain how layout shifts occur and how reserved space prevents them, why interactivity suffers under long tasks and which techniques reduce the main work in the browser. Every article describes measurement before and after the change, so the effect of a measure can be quantified rather than assumed. We also cover collaboration: which requirements for design and editing prevent every new page from degrading loading time again.

In short and in plain language

On this page you will find all posts on the topic “Front-end optimisation”. The newest posts are at the top.

Below each title there is a short text about it. Click on a post. Then you can read the whole text.

Above the list you also see the other topics. At the bottom, a link takes you back to all posts.

JPEG XL Is Back in Browsers: Is It Worth It for Shops?

Chrome 155 and Firefox 158 decode JPEG XL. When the format pays off next to AVIF and WebP for shops, and how to repack JPEGs losslessly and serve them safely.

17 min read

Yesterday's speed tricks: what slows sites down on HTTP/2

Domain sharding, bundles, sprites and data URIs date from the HTTP/1.1 era. How to spot them in the waterfall and roll them back safely under HTTP/2.

19 min read

Hero Carousels: Why the Slider Costs You LCP

Why the image carousel at the top of the page is often the LCP element, how autoplay drives CLS and how a slider loads fast, stays stable and can be paused.

20 min read

Style Recalculation: When CSS Slows the Browser Down

Why style calculation costs time at runtime, how Selector Stats and Long Animation Frames make its share visible, and which changes actually shrink the scope.

14 min read

A/B Tests Without Flicker: Keeping LCP Under Control

Why anti-flicker layers push out Largest Contentful Paint, how to measure their share of the first paint and which setups carry a test without hiding the page.

15 min read

Finding and Removing Unused CSS for Faster Loads

How much CSS a page really needs, how to measure the unused share reliably and in which order to remove ballast without breaking the rendering.

13 min read

Frontend Memory Leaks: When Long Sessions Slow Down

The interface starts fast and turns sluggish after twenty minutes: how front-end memory leaks arise, how to measure them over time and how to get rid of them.

12 min read

View Transitions API: Seamless Page Navigation in Shops

Native, GPU-accelerated page changes in your shop without a JavaScript framework: how cross-document view transitions smooth the jump from category to product.

12 min read

Service Workers and Precaching for Faster Repeat Visits

How a service worker with precaching keeps critical files local, serves repeat visits with almost no server round trip and when the effort truly pays off.

12 min read

content-visibility: Skip Rendering Work on Long Pages

content-visibility and CSS containment limit the rendering work of long pages to the visible area - with placeholder heights that avoid new layout shifts.

13 min read

Shared Dictionaries: Ship Bundles as Deltas

Compression dictionary transport per RFC 9842: how browsers and servers ship bundles as deltas against the previous version - patterns, configuration, fallback.

12 min read

Back/Forward Cache: Instant Browser Back-Navigation

How the back/forward cache keeps whole pages in memory and makes back navigation instant: blockers, Cache-Control: no-store and testing in DevTools.

13 min read

Speculation Rules: Instant Navigation via Prerendering

How the Speculation Rules API prefetches or prerenders next pages, tunes eagerness correctly, and avoids wasted prerenders and analytics side effects.

13 min read

fetchpriority: Speed Up LCP with Priority Hints

How fetchpriority='high' loads the LCP image sooner: correct use, interplay with preload and srcset, the most common mistakes and the LCP quick win.

13 min read

Resource Hints: Using preload, prefetch and preconnect

How preload, prefetch, preconnect, dns-prefetch and priority hints shorten connection setup, speed up the LCP image and fonts – and where over-loading hurts.

14 min read

Lazy Loading and Code Splitting Done Right in 2026

Lazy loading for images and components, route-based code splitting and dynamic imports cut initial JavaScript and improve Core Web Vitals on every page.

14 min read

Web Font Performance: Cut Load Time With Fonts

Web fonts cost load time and cause layout shifts. Learn how to optimize fonts with font-display, preload, subsetting and WOFF2 for fast pages.

13 min read

Video Performance: Keeping Load Times Under Control

Video as an underrated load-time driver: poster as LCP candidate, lean preload, modern codecs and facades for embedded players - so no video slows the page.

13 min read

Smooth Animations: Stopping Jank in the Frontend

Smooth animations without jank: the 16.7 ms frame budget, why only transform and opacity stay cheap, and how to hunt down frontend jank in the DevTools.

12 min read