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.
This is page 6 of the posts from our blog. The newer posts are on the pages before.
Each post explains one topic. Below the title there is a short text about it. Click on a post. Then you can read the whole text.
The posts are on more than one page. Below the list you can choose another page.
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.
Stop optimizing Largest Contentful Paint blindly: measure TTFB, load delay, load time and render delay individually and target the biggest lever deliberately.
Status code 103 per RFC 8297: how the server sends preconnect and preload hints during think time, how the nginx rollout looks and where the honest limits run.
Cookie banners move LCP, INP and CLS: how to measure the consent layer impact in the field, rebuild it properly and take it out of the critical path for good.
content-visibility and CSS containment limit the rendering work of long pages to the visible area - with placeholder heights that avoid new layout shifts.
Compression dictionary transport per RFC 9842: how browsers and servers ship bundles as deltas against the previous version - patterns, configuration, fallback.
Bots generate over half of all HTML requests. Why AI crawlers hit uncacheable long-tail URLs, how to measure the load and throttle it instead of blocking.
Single-page apps only report the first load to CrUX. How the Soft Navigations API from Chrome 151 measures route changes and splits LCP, INP and CLS per route.
Reduce DOM size: cut style and layout work with pagination, virtualization, content-visibility and flatter markup to improve INP and Core Web Vitals.