Questions tagged [manifest.cache]

manifest.cache is HTML5 application caching mechanism

manifest.cache is HTML5 application caching mechanism

Enabling the application cache

To enable the application cache for an application, you must include the manifest attribute in the element in your application's pages, as shown in the following example:

<html manifest="example.appcache">

https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache

30 questions
28
votes
4 answers

Removing HTML5 Offline AppCache

I have an HTML document with an associated appcache manifest. But now I want to get rid of offline application caching for a while. If I remove mention of the manifest from the tag, browsers that already have a cached version will continue…
Trott
  • 66,479
  • 23
  • 173
  • 212
23
votes
3 answers

My HTML5 Application Cache Manifest is caching everything

UPDATE: ** I posted this question when this feature was really new, I realize now that this feature should not be used this way unless it is used via JavaScript. but seems like this hack is a great solution for most beginners who make the same…
Neo
  • 11,078
  • 2
  • 68
  • 79
11
votes
2 answers

Can the new HTML5 manifest.cache file contain paths to directories?

When utilizing the HTML5 ability to specify if/how files are cached (in the manifest.cache file), are specifying entire directories possible? Can I place a path to my images directory under the CACHE: section and have it apply to all files in that…
Wilco
  • 32,754
  • 49
  • 128
  • 160
7
votes
3 answers

Omit current page from HTML5 offline appcache but use cached resources

For performance purposes, I want to have some of my web pages use resources that have been cached for offline use (images, CSS, etc.) but to not have the page itself cached as the content will be generated dynamically. One way to do this would be to…
Trott
  • 66,479
  • 23
  • 173
  • 212
4
votes
4 answers

HTML 5 Cache manifest gets cached itself

I have a problem of that it seems that the cache.manifest file gets cached itself. Meaning every changes to the file are not being noted by (Mobile) Safari, so it will never update and always show the last cached files. I tried to avoid it using an…
Mark
  • 16,906
  • 20
  • 84
  • 117
4
votes
6 answers

Application Cache Error event: Manifest fetch failed (4)

I am trying to implement AppCache in my application. I have added the corresponding MIME type in IIS. Please see my below html tag My manifest looks like: CACHE MANIFEST Content/img/logo-header.png…
3
votes
2 answers

HTML5 Offline Appcache Updates Not Showing In Firefox

I have an index.php file in my docroot. It produces output that starts with this: The manifest.appcache tells browsers to cache it for offline use. Again, the relevant parts: CACHE…
Trott
  • 66,479
  • 23
  • 173
  • 212
3
votes
1 answer

Are offline HTML5 apps possible in iOS 4.3.4?

I'm trying my hand at building an HTML5 driven offline app for my iPad 2 which has iOS 4.3.4. I followed instructions I've seen on several websites to a tee, and was even able to verify using Chrome's Developer Tools that the cache is…
natlee75
  • 5,097
  • 3
  • 34
  • 39
3
votes
1 answer

Problem While Doing html5 webapp cache

I have a webapp which has the domain http://draft.mo2do.com when i am accessing the url it will resolve like the below url and redirect to the corresponding site home page http://draft.mo2do.com/s/_91665/Home Here i implemented offline cache. My…
Raja
  • 77
  • 1
  • 10
3
votes
1 answer

Application manifest working on android, iPhone, firefox, opera, but not on iPad

I'm having trouble getting a real simple html5 cache manifest to work on the iPad. It does however work on all other devices and browsers I've tested. Are there any bugs in the iPad safari implementation or other limitations to the iPad or am I…
Minion91
  • 1,911
  • 12
  • 19
3
votes
1 answer

net::ERR_FAILED for network item in manifest.cache

My cache manifest file looks like: CACHE MANIFEST calendar.html scripts/jquery.js scripts/calendar.js NETWORK: https://apis.google.com/js/client.js My calendar.html looks something like:
Mfswiggs
  • 307
  • 1
  • 6
  • 16
2
votes
1 answer

Can cache manifest files be served from a different host?

I am hosting a cache manifest file for a friend, because his server serves manifest files as plain text and he can't change it. He's hosting the rest of his pages himself, on his server. So his tag has a manifest attribute that is a complete…
Jay
  • 3,471
  • 4
  • 35
  • 49
2
votes
2 answers

HTML5 Offline app always sending "error" event on iPod Touch iOS 4.2.1

I have an issue in iOS with a HTML5 Offline app. My app works fine offline in Firefox, Chrome and Android 2.2, but not on my iPod Touch running iOS 4.2.1. Here is my manifest (a JSP), called "1.cache.manifest.jsp". I use a "no-cache.jsp" JSP to ask…
Paul Grime
  • 14,970
  • 4
  • 36
  • 58
2
votes
1 answer

Check if my pages are cached

I have a page that links to a manifest file. The manifest file has many urls in it. Usually it takes a few minutes to load everything. How can I check if my pages have finished caching so I can tell the user "Your files are cached. It is safe to go…
2
votes
0 answers

How to get complete offline support using html5

This has been bugging me a lot, I have a .net MVC application which needs offline support. I am rendering the Manifest file dynamically as a view. While making page refreshes what I have observed is - First time everything is loaded…
tusharmath
  • 10,622
  • 12
  • 56
  • 83
1
2