-
Notifications
You must be signed in to change notification settings - Fork 50
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
Still having service worker refresh problems #253
Comments
The symptoms seem the same as whatwg/streams#955 but I'm unsure how this could possibly be happening, at least via code inspection. |
I can reproduce this in Firefox refreshing
for the SVG logo. I wonder if this is due to preloading not taking @asutherland something you might wanna look at? |
You're right, I can consistently reproduce this on Firefox with logos. But I even saw it once for the stylesheets again while testing today. And for those, it disappeared after the first attempt. |
I've filed https://bugzilla.mozilla.org/show_bug.cgi?id=1551557 to track any Firefox specific implementation issues and our investigation of this. We'll be sure to chime back in here for any spec-related things and/or once we understand what's happening in Firefox. |
This is happening often enough in Firefox for me (but also Chrome) that I'm contemplating removing our service worker. It just seems embarrassing to end up with a completely unstyled spec for what, in my experience, is about ~1/10 visits. (Especially if, as I suspect, the problem occurs more often for empty caches, i.e. first-time visitors.) To be clear, the issue appears to be with:
|
Does this mainly happen when devtools is open? I think sometimes devtools can make additional requests that could have unexpected modes. |
Nope, I only see these errors after popping open the console. This happens when I just visit the website normally trying to look at specs :(. I like @annevk's latest hypothesis that HTML doesn't use crossorigin="" for everything the other specs do and this causes some wierd caching issue... |
Other standards load some of these resources using CORS. This may help with whatwg/whatwg.org#253.
Other standards load some of these resources using CORS. This may help with whatwg/whatwg.org#253.
With bug 1661075 fixed, the logos are now showing up on Firefox Nightly. Note that this fix wasn't related to preload at all, it just changed |
Rarely, usually never more than once per computer, I get the following errors:
I'll try to look into what could be going wrong here.
The text was updated successfully, but these errors were encountered: