Problem With HTML5 Application Cache Whitelist - Won't Ignore Items

Posted by Ryan Donnelly on Stack Overflow See other posts from Stack Overflow or by Ryan Donnelly
Published on 2010-03-10T03:02:18Z Indexed on 2010/03/12 7:07 UTC
Read the original article Hit count: 376

Filed under:
|
|
|
|

I'm trying to use HTML5 Application Cache to speed some things up on an iPhone webapp. It works great for storing images, css and JS, but the problem is that it also tries to store the HTML. I haven't been able to get it to ignore the html and stop storing it in the cache. From what I've read, I have to "whitelist" the files and directories that I want to load no matter what. I've tried listing the files I want cached explicitly, and I've tried adding a series of things under the "NETWORK:" heading. I've tried

*
/
/*
http://mysite.com
http://mysite.com/
http://mysite.com/*

None of them seem to work. Is there any way to ignore HTML files by MIME-Type or anything? Any advice would be appreciated.

Ryan

P.S. Of course, my site is not mysite.com..I just used that for simplicity.

© Stack Overflow or respective owner

Related posts about safari

Related posts about html5