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

头像存在浏览器缓存导致更新资源后网站不生效的情况 #262

Open
HongwuQz opened this issue Mar 19, 2024 · 4 comments
Open

Comments

@HongwuQz
Copy link

Description of the Issue

在Vercel部署了一版该项目,更改为自己的头像发现还是老的图
使用无痕模式打开则正常更新为最新资源

已实现:添加点击头像元素刷新资源请求的功能

Additional Information

No response

@imsyy
Copy link
Owner

imsyy commented Mar 19, 2024

更新后等待PWA缓存更新完成即可,或者自行清空缓存

@HongwuQz
Copy link
Author

我是已经在自己的fork里面写了手动点击头像更新资源的功能,不知道是否需要合并过来

@imsyy
Copy link
Owner

imsyy commented Mar 19, 2024

我是已经在自己的fork里面写了手动点击头像更新资源的功能,不知道是否需要合并过来

感觉不需要,如果在意更新的及时性的话,关闭 PWA 就行了

@HongwuQz
Copy link
Author

我这边的情况是哪怕重新部署、打开Disable Cache、刷新页面都没有更新资源。是我这边手动更新的功能部署上去点击了以后才做了更新emmm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants