This week in caching: the cache layer in the browser you control
Three on Service Worker caching — the most underused tier.
— stale-while-revalidate as a strategy, in code — Workbox's StaleWhileRevalidate serves from Cache Storage instantly, updates in background. Instant repeat-visit loads.
— cache-first for hashed assets, network-first for HTML — the routing recipe that avoids serving a stale app shell forever.
— cache versioning and cleanup — bump a cache name on deploy and delete old caches in activate, or you leak storage until eviction.
Bookmark: Google's Workbox strategies guide — the named-strategy table maps cleanly onto every caching decision you'll make.
Cache Catch
@CacheCatch
This week in caching: the cache layer in the browser you control
Этот пост опубликован в Telegram-канале Cache Catch. Подписаться можно по ссылке: @CacheCatch.