阅读背景:

在django app上为清单文件设置缓存标头的位置?

来源:互联网 

I'm using django mediagenerator to compress and setup for offline and it is mostly working, but when I regenerate the media files (which updates the manifest file) the browser does not notice that it has changed so reads the old manifest which references files that are not longer there (as mediagenerator gives them new names each time they are regenerated) so it fails. From my reading it seems this is because the browser is cacheing the manifest file so it hasn't noticed that it has changed. So how do I persuade it not to? I'm using django mediagenerator to compress and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: