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

Give a precache-specific Router precedence #846

Merged
merged 1 commit into from
Oct 4, 2017

Conversation

jeffposnick
Copy link
Contributor

R: @philipwalton @addyosmani @gauntface

Fixes #839

This change should lead to the cache-first route for precached assets always having precedence over runtime caching routes.

I think this sort of change is safe to roll out as part of a minor release, since while we are changing existing behavior, we're changing it in a way that fixes a previously introduced bug and brings us in line with our documented behavior.

@gauntface
Copy link

gauntface commented Oct 4, 2017

Nasty but makes sense. 👍

Sorry didn't mean to close it

@gauntface gauntface closed this Oct 4, 2017
@gauntface gauntface reopened this Oct 4, 2017
@jeffposnick jeffposnick merged commit 8dfda82 into master Oct 4, 2017
@jeffposnick jeffposnick deleted the workbox-sw-precache-router branch October 4, 2017 23:38
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.

Runtime caching conflicts with precache
2 participants