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

Outdated content #50

Open
joelcollinsdc opened this issue Dec 18, 2015 · 11 comments
Open

Outdated content #50

joelcollinsdc opened this issue Dec 18, 2015 · 11 comments
Labels

Comments

@joelcollinsdc
Copy link

Hello,

Starting a few weeks ago, I noticed I am seeing stale content when using this web app. For instance, the top story today is the telegram getting 1M whatsapp users and it says "2 hours ago" even though the story is a few days old. I've tried pulling down, hitting the refresh button, and reloading the page in chrome.

If it helps...
Chrome
iPhone 5
Using wireless data, not wifi

@cheeaun
Copy link
Owner

cheeaun commented Dec 19, 2015

@joelcollinsdc is it still happening now? May I know the version of the Chrome browser?

@cheeaun cheeaun added the bug label Dec 19, 2015
@joelcollinsdc
Copy link
Author

Yes it still is. I haven't done much troubleshooting yet, but interestingly, the articles updated from what they were before, but are still a few days old. The second article I see is now the article about not being able to log into Yosemite with an emoji in the password.

Chrome version is 47.0.2526.70

@joelcollinsdc
Copy link
Author

Killing chrome and reopening still shows the outdated content. Safari on my phone does show the latest content...

@joelcollinsdc
Copy link
Author

FWIW, this morning it was showing updated content. Well... it says the top story is 16 minutes old on hackerweb and my desktop chrome says its 24 minutes old, but that seems like a non issue.

@joelcollinsdc
Copy link
Author

It's been working all day. Maybe it's fixed now.

@cheeaun
Copy link
Owner

cheeaun commented Dec 20, 2015

@joelcollinsdc glad to know it's fixed for you. I didn't apply any fixes though, as it's kind of hard for me to replicate this bug. I suspect a few issues that might cause this but not 100% sure so I'll keep this in mind for now. Feel free to report here if you're experiencing this bug again, thanks!

@joelcollinsdc
Copy link
Author

Thanks

@joelcollinsdc
Copy link
Author

This keeps happening to me. How can I help troubleshoot?

@joelcollinsdc joelcollinsdc reopened this Dec 25, 2015
@cheeaun
Copy link
Owner

cheeaun commented Dec 26, 2015

@joelcollinsdc Would be great if you could inspect the API calls and try loading them with cache bust e.g.: http://node-hnapi.herokuapp.com/item/9900168 (could be different endpoint for your case because the app "load-balance" with different endpoints) and try http://node-hnapi.herokuapp.com/item/9900168?test=1 to see if there are any differences.

@joelcollinsdc
Copy link
Author

So by loading hackerweb on my desktop and inspecting, i saw that /news and /news2 was being requested. When I load these from my mobile chrome, I notice updated content.

Judging from how fast the hackerweb home page loads when the content is stale (very fast), my guess is that something in the JS on the webpage is telling chrome that it doesn't need to refresh the content from local storage. I was trying to find a way to debug/inspect the local storage in chrome mobile but couldn't...

@joelcollinsdc
Copy link
Author

Proof i'm not totally crazy. It always seems to happen in the morning, if that helps. After the page has been open for an hour or so it seems to fix itself. (Example, the below pic was taken at 8:30 Central, by 9:30 it was working)

img_5785

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

No branches or pull requests

2 participants