sreimer
sreimer

Reputation: 4998

Remove file from HTML5 manifest

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.

Upvotes: 0

Views: 124

Answers (1)

robertc
robertc

Reputation: 75707

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.

Upvotes: 1

Related Questions