ReactJS应用程序缓存客户端看不到最新更改

发布于 2025-02-01 03:15:15 字数 84 浏览 5 评论 0 原文

因此,我在生产中有一个应用程序,我的一些客户抱怨说,除非他们完全擦拭缓存,否则他们看不到新的更改。

技术:反应

我要做的事情?

So I have a Application in production and some of my clients are complaining that they can't see the new changes unless they completely wipe their cache.

Techs: React

What i have to do ?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风铃鹿 2025-02-08 03:15:15

将此代码放在了解更多

<meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='expires' content='0'>
<meta http-equiv='pragma' content='no-cache'>

put this code in the head tag for Learn More

<meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='expires' content='0'>
<meta http-equiv='pragma' content='no-cache'>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文