0
votes

I was looking at Offline Web Applications using an HTML5 Cache Manifest.

Just wondering, if a user visits the application, and the resources are immediately downloaded for offline use, will they ever be deleted? (without user intervention such as Clear Browsing Data)

For example, someone visits my site, which has several somewhat sizable jpeg files that are used as wallpaper options for my webapp... but he/she may never visit my site again? How long do the offline files last when using a Cache Manifest?

1
this will probably differ from browser to browser. - Woodrow Barlow
I'm mainly interested in Google Chrome on tablets if it comes to specifics, but information about the general expiration plan for all browsers would be interesting. Is it by disk usage? Number of days without accessing? Something else? - 700 Software
Note that the cache manifest / AppCache is (according to Mozilla anyway) a deprecated technology. You may want to look into Service Workers instead. But see also stackoverflow.com/q/28271843/215552 - Heretic Monkey

1 Answers

0
votes

It can be deleted or updated by itself, until the user does something with the manifest file.

Once an application is cached, it remains cached until one of the following happens:

  • The user clears the browser's cache
  • The manifest file is modified
  • The application cache is programmatically updated.