demo · v131
fetch handler races cache + network
The auto-preload mode kicks off the network fetch the moment the navigation starts, before the SW even boots. Inside fetch, you race a caches.match() against the preloaded network response. Whichever resolves first wins. The slider tunes how slow the network leg is.
without auto-preload (browser blocks on SW)
—
with auto-preload (race in parallel)
—