質問

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.

役に立ちましたか?

解決

Yes, as soon as it detects that manifest file has been changed it will download a new version of the application cache. If you want to avoid the PDF files being downloaded again then you should ensure to set HTTP far future expiry headers to maximize the chance of them being re-loaded from the browser cache.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top