How can I tell if a request was prefetched using Layer0’s Prefetching Service Worker?
Is the chrome Dev Tools, Application Tab Prefetch Cache Storage authoritative and complete?
Are all Prefetch Requests visible in the Chrome Dev Tools Network Tab?
The Layer0 devtools will show you detailed information about what is prefetched and when responses are served from the service worker cache.
In an environment where the devtools are not installed, you can tell if a response was served from the service worker cache by looking in the chrome devtools network tab. If you only see a request served by the service worker but no request from the service worker to the network, then it was served from the service worker’s cache. All of the requests from the service worker to the network will have a little gear icon in front of them.