I am using workbox to cache my app shell. The network tab shows that the requests are coming from serviceWorker, and assets are definitely cached as they are retrieved in a snap, even on offline mode:
However, the cache storage tab is always empty:
I have attempted to request the same assets via console:
const request = new Request('https://d198jdpljt0zhj.cloudfront.net/assets/bundles/vendor-0332fe450952d0d66900.js', {mode: 'no-cors'});
fetch(request).then(response => console.log(response));
And voila, asset is shown:
I'm afraid I'm missing something fundamental.
By the way, cache storage is shown correctly in my local environment, so I suspect this is an issue with assets coming from CDN.