0

If I remove a file reference from the HTML5 cache manifest, will the browser (mobile Chrome) remove the cached file at some point? I'm concerned about cache size as the files in question are PDFs.

As far as I know, there is no way to programmatically remove a specific file from the cache.

4

1 回答 1

1

是的,一旦它检测到清单文件已更改,它将下载新版本的应用程序缓存。如果您想避免再次下载 PDF 文件,则应确保设置 HTTP 远期到期标头,以最大限度地提高从浏览器缓存重新加载它们的机会。

于 2013-04-17T18:18:37.577 回答