-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/recipes precache and normalize #2718
Merged
jeffposnick
merged 8 commits into
GoogleChrome:v6
from
Snugug:feature/recipes-precache-and-normalize
Jan 15, 2021
Merged
Feature/recipes precache and normalize #2718
jeffposnick
merged 8 commits into
GoogleChrome:v6
from
Snugug:feature/recipes-precache-and-normalize
Jan 15, 2021
Commits on Jan 8, 2021
-
Takes an array of items and a Workbox Strategy and warms the strategy’s cache with those items at install. Useful for getting specific items into cache but allowing them to be updated outside of the Service Worker install cycle
Configuration menu - View commit details
-
Copy full SHA for 24e8d4c - Browse repository at this point
Copy the full SHA 24e8d4cView commit details -
Add warmCache and plugins options
Give users of page/image/resource recipes the ability to warm those caches using warmStrategyCache functionality. Also allows them to include plugins if desired (for instance, to normalize URLs coming into the cache)
Configuration menu - View commit details
-
Copy full SHA for f2b1f2b - Browse repository at this point
Copy the full SHA f2b1f2bView commit details -
Remove offlineFallback dependency on precache
While precache will still work, and that will be tried first, the files will be saved in a workbox-offline-fallbacks cache and the cache will try to be retrieved from there if precache fails.
Configuration menu - View commit details
-
Copy full SHA for 032d0d7 - Browse repository at this point
Copy the full SHA 032d0d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 482a947 - Browse repository at this point
Copy the full SHA 482a947View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba58724 - Browse repository at this point
Copy the full SHA ba58724View commit details
Commits on Jan 14, 2021
-
Update packages/workbox-recipes/src/warmStrategyCache.ts
Co-authored-by: Jeffrey Posnick <jeffy@google.com>
Configuration menu - View commit details
-
Copy full SHA for 2dfdebc - Browse repository at this point
Copy the full SHA 2dfdebcView commit details
Commits on Jan 15, 2021
-
Improves clarity of each, pre PR review request
Configuration menu - View commit details
-
Copy full SHA for 3fe548a - Browse repository at this point
Copy the full SHA 3fe548aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e689bb - Browse repository at this point
Copy the full SHA 8e689bbView commit details
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.