网站未在一台特定机器上更新

发布于 2025-01-11 14:06:46 字数 729 浏览 4 评论 0原文

更新 我在 Mac 上以访客用户身份尝试了该网站,结果成功了!所以问题已经缩小到我的用户身上

我有一个在 Netlify 上托管的 React 网站,当我更新它时,一切都很完美,除了当我在我制作它的机器上查看它时,它赢了不更新了

我在此 Netlify 帐户上托管了 4 个在这台计算机上构建的网站,这是唯一一个存在此问题的网站。

以下是我尝试过的一系列操作:

  • Chrome 上的清空缓存和硬重载
  • 清除整个浏览器和缓存
  • 不同的浏览器(Chrome、Firefox、Safari、Brave)
  • 隐身窗口
  • 使用以下命令刷新 DNS:
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder

并且我还尝试了

sudo killall -HUP mDNSResponder
  • 所有以上中间断电!

我完全不知所措!当我在我妻子的 PC 上尝试该网站时,它可以工作,我的 4 个同事的 Mac 也可以工作,我的 Google Pixel 和我同事的 iPhone 也可以工作,所以我知道问题出在我的机器上。

我的机器是 2020 M1 Macbook Air

有什么激进的想法吗?此时我会尝试大多数事情!

Update
I tried the site on a guest user on my Mac and it flipping worked! So the issue has been narrowed down to my user alone

I have a react website I'm hosting on Netlify, and everything is perfect when I update it EXCEPT when I view it on the machine I made it on, it won't update.

I host 4 websites on this Netlify account that are built on this machine and this is the only one that has this issue.

Here is a list of things I have tried:

  • Empty Cache and Hard reload on Chrome
  • Clearing entire browsing hotory and cache
  • Different browsers (Chrome, Firefox, Safari, Brave)
  • Incognito windows
  • Flushing DNS using the following commands:
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder

and I have also tried

sudo killall -HUP mDNSResponder
  • All of the above with power downs inbetween!

I am at a complete loss! When I try the website on my wife's PC it works, 4 of my colleagues Macs it works, my Google Pixel and my colleagues iPhone, they all work, so I know the issue is my machine.

My Machine is a 2020 M1 Macbook Air

Any radical ideas? At this point I'll try most things!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文