Recently I started using the
<html manifest="cache.appcache">
method for storing assets in my PhoneGap application.
Is it possible to use appcache but have it check every 24 hours for an updated version of the cached items?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To do so you have to generate the
cache.appcachedynamically and add a comment line which changes in the desired interval:and after 24 hours:
If changes in the content of that file happens a browser loads all cached data again.
NOTE: just a touch in file system does not bring the expected result. The content itself has to change.
http://appcachefacts.info/