HTML5 offline caching
Asked Answered
C

2

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.

Cooksey answered 30/7, 2009 at 14:55 Comment(1)
I have found manifest-validator.com to be useful to make sure that your manifest file is valid.Supra
D
23

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

Dissepiment answered 30/7, 2009 at 15:8 Comment(2)
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.Bodnar
I've also shared my experience taking a fairly complex web app offline in this post: blog.bitrzr.com/2010/10/…Clairclairaudience
L
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.

Laconic answered 9/11, 2009 at 12:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.