网站未在一台特定机器上更新
更新 我在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论