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

改善静态文件的缓存问题 #70

Open
zzh1996 opened this issue Oct 21, 2019 · 0 comments
Open

改善静态文件的缓存问题 #70

zzh1996 opened this issue Oct 21, 2019 · 0 comments

Comments

@zzh1996
Copy link
Member

zzh1996 commented Oct 21, 2019

修改静态文件内容后,除了重命名文件,没有比较方便的强制客户端刷新的办法。
可以考虑使用 https://docs.djangoproject.com/en/2.2/ref/contrib/staticfiles/#django.contrib.staticfiles.storage.ManifestStaticFilesStorage
或者其他方案

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

1 participant