21

I've read the following Mozilla Developer article that explains how to implement HTML 5 offline resource caching in web apps.

I've tried testing this locally: added the mime type to the list, created the manifest file, changed my doctype to the HTML 5 doctype, specified the manifest attribute and the correct path on the HTML element--but still I don't see the manifest file being consumed by Firefox at all. I've also checked the access logs on Apache and didn't see any requests for the manifest file being made.

Has anyone given it a jab and had any success? I just don't know how to further troubleshoot the issue and would welcome any suggestions.

Filip Dupanović
  • 32,650
  • 13
  • 84
  • 114
  • 2
    I have found http://manifest-validator.com/ to be useful to make sure that your manifest file is valid. – row1 Feb 27 '12 at 10:53

2 Answers2

23

I've compiled a few resources that may help you:

Kredns
  • 36,461
  • 52
  • 152
  • 203
  • I haven't had the time to troubleshoot this issue further, but I also feel uneasy at leaving the question unanswered just because I'm not managing to get this running locally. I think it's best to leave it at accepting your answer for the quality resources provided. – Filip Dupanović Sep 05 '09 at 19:57
  • 7
    I've also shared my experience taking a fairly complex web app offline in this post: http://blog.bitrzr.com/2010/10/html5-offline-webapps-practical-example.html – morais Nov 28 '10 at 16:32
3

Yes I have a full working prototype. At the time the manifest system in firefox was flawed. You can implement the maninfest system in a dynamic way using applicationCache.add(), applicationCache.remove() etc...

The manifest then just needs to be a json file. You will still need to have the @manifest in the html tag.

zardoz
  • 31
  • 1