yabs.io

Yet Another Bookmarks Service

Search

Results

[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.

[http://books.google.com/books?id=24V00tD7HeAC&pg=PT203&lpg=PT203&dq=average+memory+access+time+formula+examples&source=bl&ots=RkUJdzFiQG&sig=hBCnAHTrCau_S30spMLv3T-ewA0&hl=en&ei=T31gS-r2KY3o7APf0pTFDA&sa=X&oi=book_result&ct=result&resnum=10&ved=0CC4Q6AEwC] - - public:npranothi
cache, hits, memory, paging - 4 | id:50517 -

Follow Tags


Export:

JSONXMLRSS