yabs.io

Yet Another Bookmarks Service

Viewing mzimmerm's Bookmarks

service-worker delete ,

[https://stackoverflow.com/questions/42883033/service-worker-check-cached-resources-are-up-to-date-or-latest] - - public:mzimmerm
cache, good, pwa, service-worker - 4 | id:1488881 -

You have two options: Switch from your current cache-first strategy in your fetch handler to a strategy like stale-while-revalidate. Use a build-time tool to generate a service worker that changes each time one of your local resources changes, which will trigger the install and activate handlers, giving them a chance to update your users' caches with the latest copies of your assets. These tools work by generating hashes of each local file and inlining those hashes into the generated service worker script.

[https://stackoverflow.com/questions/49739438/when-and-how-does-a-pwa-update-itself] - - public:mzimmerm
cache, good, pwa, service-worker - 4 | id:1488877 -

Only two events… In essence, there are only two events that will automatically trigger a PWA update: A change in the linked manifest.json; e.g. a changed icon file or a changed scope or start_url. A one-character change in the controlling service-worker.js. E.g., if you store the version number in a const in this file and change it, an update of the PWA will be triggered.

With marked bookmarks
| (+) | |

Viewing 1 - 12, 12 links out of 12 links, page: 1

Follow Tags

Manage

Export:

JSONXMLRSS