-
Notifications
You must be signed in to change notification settings - Fork 201
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 to sw-precache ^5.0.0 for Chrome 59 and latest Firefox support #1275
Comments
We already have the problem on Firefox, soon in Chrome => GoogleChromeLabs/sw-precache#220 The Google Developer Group template is based on this and we are facing this problem 😢 |
Most of DevFest websites stopped working on Firefox and for folks that use Chrome Dev version |
Thanks for bringing this to our attention everyone, I hadn't heard about this at all. It seems like this version should be marked deprecated if it will be broken in Firefox and Chrome soon. I can get to this tomorrow/Wednesday, but would be happy to review a PR if someone wants to tackle the upgrade sooner. I know I looked into updating versions a few months ago, and iirc there were some breaking changes we have to handle. |
Link to gdg-x/hoverboard#253 and GDGToulouse/site-devfest-toulouse-2017#23 (and many more GDG website) Closes #199
Link to gdg-x/hoverboard#253 and GDGToulouse/site-devfest-toulouse-2017#23 (and many more GDG website) Closes #199
Link to gdg-x/hoverboard#253 and GDGToulouse/site-devfest-toulouse-2017#23 (and many more GDG website) Closes #199
The release notes do a decent job of outlining what's different in each The biggest impact of moving from While there are other, smaller changes that have been made and are outlined in the notes, that's the largest one. |
@FredKSchott I've proposed a PR (#201) and all the tests seems to be ok on my env, I'm waiting Travis and AppVeyor now 😉 |
@jeffposnick that's great, I must have been thinking of something else then. Thanks for the info 👍 |
npm WARN deprecated [email protected]: Please update to v5 or higher to resolve an issue with redirected navigation responses. See https://github.com/GoogleChrome/sw-precache/issues/220 |
Link to gdg-x/hoverboard#253 and GDGToulouse/site-devfest-toulouse-2017#23 (and many more GDG website) Closes #199
Link to gdg-x/hoverboard#253 and GDGToulouse/site-devfest-toulouse-2017#23 (and many more GDG website) Closes #199
Link to gdg-x/hoverboard#253 and GDGToulouse/site-devfest-toulouse-2017#23 (and many more GDG website) Closes #199
Link to gdg-x/hoverboard#253 and GDGToulouse/site-devfest-toulouse-2017#23 (and many more GDG website) Closes #199
…201) Link to gdg-x/hoverboard#253 and GDGToulouse/site-devfest-toulouse-2017#23 (and many more GDG website) Closes #199
Merged in #201, hopefully released soon along with an upcoming analyzer update. Thanks for your help everyone! 🤘 |
Description
GoogleChromeLabs/sw-precache#241 includes an important fix for Chrome M59 which is expected to break a lot of apps using old versions of sw-precache in June 2017. Firefox has already disabled this redirect behavior which may cause issues for apps using the existing sw-precache from polymer-build and polymer-cli.
Versions & Environment
Steps to Reproduce
Expected Results
The page reloads nearly instantly w/o no errors in the console related to sw-precache.
Actual Results
In Chrome 59, the navigation to "https://devfestflorida.org/" will result in a network error, because
FetchEvent.respondWith()
was called with a redirected response. See https://crbug.com/658249. The url list of the response was:["https://devfestflorida.org/index.html?sw-precache=d29f0089363aaf48cd80c928c9628029", "https://devfestflorida.org/?sw-precache=d29f0089363aaf48cd80c928c9628029"]
[Deprecation] The service worker responded to the navigation request with a redirected response. This will result in an error in M59, around June 2017.
We noticed this as part of DevFestFlorida/DevFestFloridaSite#36 and the GDG-X Hoverboard project has actually moved to a custom Polymer build (gdg-x/hoverboard#235) instead of using polymer-cli so that they can load the latest (gdg-x/hoverboard@d75b2d3) sw-precache ^5.0.0.
The text was updated successfully, but these errors were encountered: