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
4
votes
2 answers

On iOS, where is the "add to homepage" cache kept, and how do I clear it?

I'm making an html5 game on the iPad (iOS v7) and it's very stubborn about releasing the cache when I add it to the homepage. This works the way you'd expect if I view it in Safari: If I refresh once or twice, the page gets cached in its latest…
Daniel Kaplan
  • 62,768
  • 50
  • 234
  • 356
4
votes
2 answers

HTML5 appCache event for no update

I have a on page oad event that checks my manifest status, and if there is a change it asks the user to reload. However, I'm trying to bind a
SMacFadyen
  • 3,145
  • 2
  • 25
  • 37
4
votes
0 answers

PhoneGap Android - html5 cache remote resources (html, js, css, etc)

I've successfully created an android phonegap project and I'm capable of loading a remote web app. The point is, I need to cache remote resources on the device so that my phonegap app will work when the device has no connectivity. Cache manifest is…
Pablo M.
  • 53
  • 1
  • 6
4
votes
1 answer

How can I clear the appcache on the Google Chrome iPad app?

I've written a little HTML5 based web app that I am trying to debug on the iPad using the Chrome for iPad app. I have added a cache.manifest file to my app which has some heavy caching in it of most static resources however since I am now wanting to…
Jannis
  • 17,025
  • 18
  • 62
  • 75
4
votes
2 answers

Alert upon completion of Manifest cache with javascript

How do I alert a success message when cache.manifest has download all the files in a html5 app? (Bascially success alert on complete cache download)! Thanks
Dave Homer
  • 168
  • 1
  • 11
4
votes
2 answers

Can I use html5 cache manifest to store third party js?

I want to use third party js in my html5 cache manifest. I don't know can I do it or not , if its possible then how? Can I specify full third party js url in manifest file? I have seen examples where in manifest they have specified http url for…
Debugger
  • 544
  • 1
  • 9
  • 25
3
votes
3 answers

Application Cache manifest file errors with Windows/NTLM authentication

How are browsers implementing requests for Application Cache manifest files and is it different from how other files are requested? I ask because I'm seeing behavior I wouldn't expect when using Windows/NTLM authentication in IIS 7. The situation is…
3
votes
2 answers

How should I structure my HTML5 manifest given these requirements?

I have a HTML jquerymobile App, I need to show an offline page when the user tries to load the app from their home screen. The page I want them to see is gone-offline.jsp. Problem is, if I include the HTML manifest on every page the user visits,…
williamsandonz
  • 15,864
  • 23
  • 100
  • 186
3
votes
1 answer

How to cache multiple HTML pages with both page-specific images and shared resources in the HTML5 application cache?

In my HTML5 application I have several HTML files that represent books. Each 'book' contains images that are specific for that book. Each book file also has references to CSS and JavaScript files that are shared by all books. I want to cache the…
Jeroen
  • 839
  • 13
  • 20
3
votes
1 answer

HTML5 appCache manifest referencing a directory's default document

Throughout a jQuery mobile site I am working on I have anchor tags that refer to urls in the following manner: "/directory/" "/directory/subdirectory/" which are of course…
Matt
  • 328
  • 3
  • 9
3
votes
1 answer

How to support multiple custom cache manifest for offline use, on a user by user basis?

Possible Duplicate: HTML5 Cache — Is it possible to have several distinct caches for a single URL? My app uses the concept of Projects, each Project has multiple support files (primarily image files and pdf's) that need to be made available…
David Sauvier
  • 31
  • 1
  • 3
3
votes
1 answer

Fallback to manifest file if support for serviceworkers is not supported

I am making an app which will support the "Add to Homescreen" features in Android Chrome and iOS Safari. Since I would like universal offline support for both of these features, but I only want to use the manifest file where I have to, in order…
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
3
votes
0 answers

HTML Cache manifest URL relative to

We have a single-page app that uses pushState to change the URL in the browser. The app entry point - index.html downloaded each time no matter what the actual URL is - has it's tag with href attribute set to some fixed URL (e.g. /myapp) as a…
redhead
  • 1,264
  • 1
  • 17
  • 32
3
votes
0 answers

Html5 Cache Manifest for online page load speed

Just want to check whether cache manifest can help to improve online page load speed. From what I google about this cache manifest, it enable web pages to load offline (resources such as css, js and img loaded from cache based on the manifest) Is…
WenHao
  • 1,183
  • 1
  • 15
  • 46