You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello i'm using django cookie cutter and bucket type for distribue static and media files (aws s3,google storage,etc..), after some reading, i'm using workbox (google workbox) for the easing caching.
for avoid the opaque responses, it's advised add crossorigin=anonymous in all img and link (https://developers.google.com/web/tools/workbox/guides/handle-third-party-requests) and the opaque responses no put always files in cache.
It's possible add option for add crossorigin anonymous (add in link) in head your generate with the tags.
Personal question and good use of the service worker:
When i generate my docker, i use gulps for modify variable CACHE_VERSION in serviceworkers.js ( example : cacheName: 'js-cache-' + CACHE_VERSION) for add new number version. so that i force reload cache in navigator and reload new cache if new docker is build. it is good usage for pwa ?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hello i'm using django cookie cutter and bucket type for distribue static and media files (aws s3,google storage,etc..), after some reading, i'm using workbox (google workbox) for the easing caching.
for avoid the opaque responses, it's advised add crossorigin=anonymous in all img and link (https://developers.google.com/web/tools/workbox/guides/handle-third-party-requests) and the opaque responses no put always files in cache.
It's possible add option for add crossorigin anonymous (add in link) in head your generate with the tags.
Personal question and good use of the service worker:
When i generate my docker, i use gulps for modify variable CACHE_VERSION in serviceworkers.js ( example : cacheName: 'js-cache-' + CACHE_VERSION) for add new number version. so that i force reload cache in navigator and reload new cache if new docker is build. it is good usage for pwa ?
Thanks in advance
The text was updated successfully, but these errors were encountered: