TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

3 点作者 sigmaml超过 3 年前

2 条评论

AlbertoGP超过 3 年前
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.
vulcan01超过 3 年前
I&#x27;m not seeing any such issue in Safari (macOS Monterey).