← All tools

Service Worker Cache Simulator

Simulate sequential GET events with five strategies; cache hits cost 0 ms, only 2xx responses are stored, HTTP errors resolve from network, and only transport failures trigger network-first fallback. Background revalidation completes before the next event. Same synthetic base origin, no expiration/HTTP cache/Vary/opaque responses. No service worker is installed or network/storage accessed. Up to 200 requests.

service-worker-cache-simulatorLOCAL WORKSPACE

Enabling local controls…

Inputs and settings

Processed in this tab without uploading or storing inputs. Each text field is limited to 32 KiB and complete output to 1 MiB; additional format and model limits apply.

Results

Review the settings and run. Editing inputs clears old results.

Processing model and limits

Simulate sequential GET events with five strategies; cache hits cost 0 ms, only 2xx responses are stored, HTTP errors resolve from network, and only transport failures trigger network-first fallback. Background revalidation completes before the next event. Same synthetic base origin, no expiration/HTTP cache/Vary/opaque responses. No service worker is installed or network/storage accessed. Up to 200 requests.

Data and model checked: Workbox caching strategies ↗Source tool controls ↗

How to use this tool

Load the example, confirm field units and processing rules, then run locally. Editing any input clears the old result. Copy or download the complete output explicitly.

When not to use it

Simulate sequential GET events with five strategies; cache hits cost 0 ms, only 2xx responses are stored, HTTP errors resolve from network, and only transport failures trigger network-first fallback. Background revalidation completes before the next event. Same synthetic base origin, no expiration/HTTP cache/Vary/opaque responses. No service worker is installed or network/storage accessed. Up to 200 requests.