Firefox not recognizing changes to the .manifest file
Locking duplicate thread.
Please continue here: [/questions/993395]
So, I took this chunk of code directly from Mozilla:
function onUpdateReady(){
window.applicationCache.swapCache(); } window.applicationCache.addEventListener('updateready', onUpdateReady); if(window.applicationCache.status === window.applicationCache.UPDATEREADY){ onUpdateReady(); }
Using jQuery I alerted the window.applicationCache.status. The alert always returns either a 0 or a 1....never a 4, which it should when I make a change to the .manifest file. This problem seems to be unique to Firefox, as all other browsers recognize an update when I do one.
This is my .htaccess file:
AddType text/cache-manifest .manifest ExpiresActive On
<Files index.html> Header append Cache-Control "public, must-revalidate" </Files>
And my manifest file (condensed):
CACHE MANIFEST
- v 1.6
NETWORK: cache.manifest
CACHE: css/pages.css index.html
Any idea's as what I am missing to get Firefox to recognize an updated .manifest file so I can get my web app working?
Modified