I have a problem with using the appcache.
I have it working, but it is working too well. I am using it on wordpress and the problem is that the browser is serving up the cached pages so when I update/edit a page and view it in the browser it shows me a page which is cached and not the newly updated one (no number of times refreshing the page helps).
Is there a way to force the browser to use non-cached pages when online?
My cache manifest file is as so:
CACHE MANIFEST
#
# Version Control
# version 3
#
CACHE:
/assets/css/app.css
/assets/css/bootstrap-responsive.css
/assets/css/bootstrap.css
/assets/js/main.js
/assets/js/plugins.js
/assets/js/vendor/jquery-1.8.2.min.js
/assets/js/vendor/modernizr-2.6.2.min.js
/assets/NRClogo_small.png
NETWORK:
*
FALLBACK:
All I need is that the pages when edited update. Is there a way of using javascript to force a reload of the manifest, or to have a fresh load of the manifest everytime a user hits the site? Perhaps adding a time expire of every 5 minutes or something? -Although the manifest will still be the same so it won't update and will still show the cached pages.
Any help would be great and appreciated, and if I am not clear on anything or more info would help please let me know.
Many thanks in advance.
Ali.