Skip to content
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

Update precaching to use routing and strategies #2459

Merged
merged 2 commits into from
Jun 2, 2020
Merged

Conversation

philipwalton
Copy link
Member

@philipwalton philipwalton commented Apr 16, 2020

R: @jeffposnick

This PR fixes #1857 and fixes #1760 and fixes #1767 and is a slight rewrite of the main workbox-precaching logic to leverage the changes added in #2415.

These changes don't yet address the use case of passing your own strategy or fetch/match options because I wanted to add the initial set of changes without modifying the API (and changing the tests as little as possible) in order to ensure we're not losing any functionality as part of this change.

Once this is merged I can put together a proposal for how developers could use their own custom strategy for precaching.

Copy link
Contributor

@jeffposnick jeffposnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this end up fixing #2294 as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants