Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更改为其他网页后,浏览器缓存依旧存在 #385

Open
ymp12345 opened this issue Jan 31, 2025 · 1 comment
Open

更改为其他网页后,浏览器缓存依旧存在 #385

ymp12345 opened this issue Jan 31, 2025 · 1 comment
Labels
bug 这有一只虫子

Comments

@ymp12345
Copy link

站点链接

https://linkqiu.com/

问题描述

请教一下,之前使用了咱们的程序,打包为dist文件夹上传到宝塔中运行,现在要更换到访问一个单独的html文件,但是本地一直有原有imsyy页面的缓存,不清空浏览器缓存无法访问到我新的页面,请问可以解决吗,谢谢!

补充信息

No response

@ymp12345 ymp12345 added the bug 这有一只虫子 label Jan 31, 2025
@ymp12345 ymp12345 changed the title 浏览器缓存无法通过服务器端删除的问题 更改为其他网页后,浏览器缓存依旧存在 Jan 31, 2025
@NanoRocky
Copy link

这是没什么办法的,因为 workbox 把页面缓存在了浏览器内,加快网页访问速度。要删掉缓存只能手动强制刷新或删除。虽然 workbox 有参数可以要求浏览器删除缓存的东西,但必须再次打开这个网站才能生效,也不适用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 这有一只虫子
Projects
None yet
Development

No branches or pull requests

2 participants