-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Gatsby website not showing up in Chrome #1189
Comments
opening it up in incognito, it works okay. Must be a conflict with one of my plugins. I whitelisted the site on disconnect. I'll see what I can find, and hopefully it's just local to me. |
Ugh, really got to fix this issue. So the problem is that Gatsby is loading from a service worker which is great but sometimes your browser loads an old version of the site and when it does it'll then try to fetch stuff off the server which don't exist anymore so a 404 error happens. Unfortunately Gatsby's page resource fetching code is naive so it doesn't handle this. What I need to do is catch errors like this and then force a refresh with a new service worker so you're updated to the latest version of the site. |
Thanks for the report and bearing with our rocky roll out :-) |
Ah, okay, hence it working in incognito. I was going to feature the site in my newsletter, but I can wait. Looks great though and am excited for you getting so close to 1.0! |
Ok! This is only a problem for repeat visitors so new people are fine :-) also it's pretty easy fix which I'll get to tomorrow. |
Woops. Just posted this issue #1193 refering to the same (kind of) problem. |
Did some work on this #1217 If a user w/ sw navigates to a page it doesn't know it immediately reloads. Also when a new service worker is installed the page is reloaded. Makes for a bit of a "hiccup" but it's not too bad (loading from the sw is fast). We'll roll with this for a while and see how we like it. |
Hi @KyleAMathews! Although this issue is quite old, I'm revisiting it regarding SW. What is the best way to update websites so returning users load performance will not be degraded? Note: |
I am actually running into this problem as well, it was working a few hours ago and when I serve it to localhost now I'm getting a blank page. |
I got this error when Refreshing this page: https://mikaelboutin.com/en/page-2/ There's the repo of my project like it is now online https://github.com/DWboutin/gatsby-setup Can you check it quick @KyleAMathews or any of you? Thank you |
I’m also having this issue on iOS Safari. The site loads in a private tab. Not in a regular tab. Is there a way to resolve this? Thanks. |
Nice new design. Hope this is the right repo for the blog, aplogies if not.
The site shows up fine in Safari, but not Chrome, where I get empty pages and slow loading. http://www.whatsmybrowser.org/b/QNBX5NS
Here's the contents of my console log for this page: https://www.gatsbyjs.org/blog/gatsby-first-beta-release/
The text was updated successfully, but these errors were encountered: