- From: Arthur Stolyar <notifications@github.com>
- Date: Fri, 08 Apr 2016 13:24:31 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Friday, 8 April 2016 20:25:07 UTC
I have a such situation: One primary cache, let's call it `static`. This cache always exists, never changes name and only entries in it are changed. Difference is found by comparing two maps 1) existing, described currently cached entries; 2) new, which came with a newly generate SW (new build). Difference is computed on `install` event and new assets/files are stored in `tmp` cache. Then, on `activate` event, old assets are deleted from `static` cache or simply overridden by new version (if file name/url wan't changed). My question, can we have some fastest way to import entries from one cache to another? Because as far as I understand, reading from one cache and writing to another is kind of slow and not "looking good" operation. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/871
Received on Friday, 8 April 2016 20:25:07 UTC