Questions tagged [cache-manifest]

The cache manifest is a part of the deprecated HTML5 application cache (AppCache) feature, which is intended to provide users with the ability to access a web application even without a network connection.

Web applications consists of a list of web addresses. These can be HTML, CSS, JavaScript, images or any other source that is required for a web application to be rendered. These addresses or URLs can be copied onto a manifest file, which can be updated regularly by the author of the web application, indicating any new web addresses that are added or deleted. When connecting to a network for the first time a web browser will read the HTML5 manifest file, download the resources given and store them locally. Then, in the absence of a network connection, the web browser will shift to the local copies instead and render the web application offline.

(Source: wikipedia.org/Cache_manifest_in_HTML5)

262 questions
9
votes
1 answer

Simple way to add a cache manifest to a Meteor app?

I would like to make the Meteor (meteor.com) app load without connectivity to the meteor server(offline) via cache manifest. I think a similar question has already been asked here: How can I add a cache manifest to a Meteor app? but I couldn't…
Timothy Ahong
  • 325
  • 2
  • 9
8
votes
7 answers

HTML5 Cache -- Is it possible to have several distinct caches for a single URL?

Every URL can be linked to a single cache manifest. But I want several cache manifests linked to a same URL. Here is the reason: Some files I want to be cached are rarely updated and large. So everytime the cache gets updated these large files get…
brillout
  • 7,804
  • 11
  • 72
  • 84
8
votes
2 answers

Application Cache Error event: Resource fetch failed (-1)

I am trying to store a mp4 video file (rather small ~ 2.5MB) in the local app cache. Manifest looks like: CACHE MANIFEST viddy.mp4 Chrome (22.0.1229.94 m) will log the following in the console: Creating Application Cache with manifest…
m90
  • 11,434
  • 13
  • 62
  • 112
7
votes
4 answers

Fail callback called although Ajax request is performed and server returns 200 with data

I have a HTML5 test webpage test.html with a cache manifest. The webpage does an Ajax request to the same server, to a webpage do_get_data.php that is listed under the section NETWORK: in the cache manifest. The request is performed by both Firefox…
AndersTornkvist
  • 2,610
  • 20
  • 38
7
votes
1 answer

How to cache with manifest Node.js site

In relation with my early question of how to add manifest cache in node.js, my question now is related with how to cache the HTML generated by node.js. As we didn't have a physical file like in php (index.php) we cannot cache such kind of files.…
enedebe
  • 268
  • 1
  • 5
  • 15
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
7
votes
1 answer

Mobile Safari: Audio + cache manifest

I'm having a small web app, which plays really short sound bits on the click of several buttons. It explicitly targets mobile Safari on iOS (iPad). After reading here and elsewhere about the several "shortcomings" of HTML5 audio in this context on…
polarblau
  • 17,649
  • 7
  • 63
  • 84
7
votes
3 answers

No caching in HTML5

In HTML4 we used stuff like to get the browser…
Tika
  • 333
  • 2
  • 4
  • 9
7
votes
3 answers

HTML5 Android Phonegap Web app not working offline with cache manifest

I have a simple web app built with Phonegap and Android that call external ressources (js, css, html) from server instead of storing it in Phonegap assets folder. I prefer using external ressources because my server can deliver html pages taking in…
Etienne Desgagné
  • 3,102
  • 1
  • 29
  • 36
6
votes
4 answers

How to Load Cache Page in Webview

I have Cache Manifest applied on HTML Page. On Chrome Browser when Internet connection goes off, it redirects to cache mode. Well, this is not the case with Android-Webview. It gives following error: Webpage could not be…
Observer
  • 345
  • 1
  • 4
  • 21
6
votes
2 answers

Appending cache manifest to existing site

Is it possible to add a cache manifest programmatically right after the page was loaded? Like adding the attribute to the html tag with JavaScript and re-init/re-load the page? I want to add a cache manifest to a page but cannot edit its HTML…
K. D.
  • 4,041
  • 9
  • 48
  • 72
6
votes
1 answer

What is the maximum cache size for iOS6 web apps and how can I extend it?

I'm building a web app especially for the iPad (running iOS 6+) showing the product collection of a company. It all worked perfectly using HTML5's "cache.manifest" file. But since the cache has grown to about 50MB the iPad is not saving the…
Jules
  • 109
  • 1
  • 7
6
votes
1 answer

Unable to fetch iOS webapp files on manifest update. 401 unauthorized

I have a HTML5 webapp which is running perfectly when served via the IIS without authentication. Is is using a cache.manifest file. Both when running in safari, and as an "add to homescreen" fullscreen app, once I update the manifest file on the…
5
votes
2 answers

HTML 5 offline applicatin failed to load cached resource

I have cache static resources of my website using manifest file But when I run website when internet is not connected images not shown. Images also should cache because I putted them in manifest file. For example I have cached this file but this…
Shahin
  • 12,543
  • 39
  • 127
  • 205
5
votes
2 answers

HTML5 use cache only when offline

I started to use HTML5 cache to view a simple HTML page with one css file and two js files. My problem is that the cache is used whether I'm offline or not. But I just want to use the cache when I'm offline. Does anyone know how to solve…
Fabian
  • 3,465
  • 4
  • 34
  • 42
1
2
3
17 18