Offline application gotcha in Firefox

Posted by david
on 18 May 2010 at 20:30

I’ve been working on an HTML5-based offline web application but ran into trouble when updating files listed in the cache manifest.

Even though the files were downloaded and cached when the page was initially loaded, if a change was made to one (or more) of the files listed on the server, the browser detected the updated manifest file and began pulling down the updated file(s). However, the update would halt with an error part way through the process, but only in Firefox; the update process worked fine in Safari and Chrome.