How the service worker cache works