I have registered a service worker. So far I have only explicitly cached a very small amount of static resources (a stylesheet and a couple of images). When I go to the application tab of Chrome devtools, they're there in the cache storage, as expected.
What is confusing me is that in the Network tab while some things say 'from disk cache' (which is what i would expect) a lot of resources other than those in my cache storage are saying 'from ServiceWorker'. Does service worker cache some things automatically?
I suppose the network panel is just reflecting the fact that the request has been intercepted by the service worker with the fetch event listener
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With