fix(cache): recover offline wallpapers, cache favicons, purge orphane…#408
Open
pooooooriya wants to merge 1 commit into
Open
Conversation
…d caches - Wallpapers (image/gif/video) no longer stay black after an update or while offline. The image is probed out-of-band and re-applied once the service worker has pinned/cached it, videos retry on error, and everything re-applies when the tab comes back online instead of waiting for a manual re-select. - Bookmark favicons (Google's favicon service) are now cached, so they load offline and hit the network far less. Bounded via ExpirationPlugin and versioned like the other caches. - Three legacy cache names (images-cache-v1, cross-origin-cache-v1, widgetify-api-cache-v1) from pre-overhaul Workbox versions were missing from the purge list and lingered forever on updated installs; they are now removed by purgeStaleCaches().
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…d caches