TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Unable login into GitHub from Safari; works from Chrome

3 pointsby sigmamlover 3 years ago

2 comments

AlbertoGPover 3 years ago
Might have something to do with how stubborn Safari is when keeping things in its cache. It is much worse on iOS.<p>The issue seems to be that it ignores the cache control headers, for instance: <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;48693693&#x2F;macos-safari-caching-response-while-headers-specify-no-caching&#x2F;54337073" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;48693693&#x2F;macos-safari-ca...</a><p>It puts the logged out version of a page in cache, then after you log in it keeps showing you that version instead of the new one.<p>If that’s the issue, you can solve it by clearing the cache in Safari. On iOS, go to Settings → Safari.<p>For the website where we had this problem, after some initial work it was working on Safari&#x2F;MacOS but not on Safari&#x2F;iOS. We eventually hammered the headers hard enough for Safari to acknowledge them, but lots of users were still locked out since Safari would of course not pick up the updated page, and the only solution has been for each user on iOS to clear their Safari cache.
vulcan01over 3 years ago
I&#x27;m not seeing any such issue in Safari (macOS Monterey).