Questions tagged [html5-appcache]

The deprecated HTML Application Cache (AppCache) feature is intended to allow you to specify files for browsers to cache and make available to users when offline. Service Workers now address all use cases the AppCache feature was intended for.

516 questions
0
votes
1 answer

What is the meaning of NETWORK and FALLBACK fields in AppCache manifest?

From http://www.html5rocks.com/en/tutorials/appcache/beginner/. CACHE: This is the default section for entries. Files listed under this header (or immediately after the CACHE MANIFEST) will be explicitly cached after they're downloaded for the…
batman
  • 5,022
  • 11
  • 52
  • 82
0
votes
1 answer

Firefox Appcache console logging

I have appcache implemented in a Web app I'm working on (generated by a grunt task) and it works fine. The only thing I'm wondering about is displaying the resources being appcached. For example in Chrome Developer console it shows the Appcache…
Jordan
  • 341
  • 1
  • 4
  • 12
0
votes
1 answer

how html5 apache works first time

I have created one HTML5 web app which works in offline mode.I load it first time form server and then when server is off it works perfectly.Webapp url is http://localhost/index.html Now , if I try to load that webapp first time on any new machine…
anand
  • 11,071
  • 28
  • 101
  • 159
0
votes
1 answer

Caching All Images of a folder using html 5

I am creating an html 5 offline web application and i want to load all images from a specified folder in the server to the browser cache using html 5 cache manifest file before the first page loads.So that after the first page loads,if the internet…
Irshad KK
  • 63
  • 2
  • 12
0
votes
2 answers

HTML5 AppCache trace resource not exist

I am trying to use html5 appcache for my web application. When I try in IE, I get this information from console: Creating AppCache with manifest: 'http://localhost/cache.appcache'. Resource doesn’t exist on the server: 'http://localhost/'. AppCache…
user1995781
  • 19,085
  • 45
  • 135
  • 236
0
votes
1 answer

How to store declared files from manifest file into HTML5 AppCache except storing page with manifest-attribute?

I'm creating a web-application in ASP.net, which i want to access offline. I need to store some static html-sites into the appcache. The only option i see is to load the appcache manifest file by extending the html-tag in Site.Master with the…
tvelop
  • 348
  • 1
  • 5
  • 17
0
votes
1 answer

Phonegap appcache with a 60 seconds timeout

I'm using Phonegap with appcache on KitKat. The problem is: I open the app, it stores the cache and everything goes right. If I close the app, shutdown the server and reopen the app, the appcache tries to retrieve the manifest. Only after 60 seconds…
Surfer on the fall
  • 721
  • 1
  • 8
  • 34
0
votes
2 answers

HTML5 Game - caching whole game locally

I'm creating an HTML5 2D game and I want to request each asset only once and then store them in the user's filesystem, I'm using localStorage for this task, however AFAIK it has a limit of 5mb per origin, (my whole game will have more than that),…
Edgar Alexander
  • 364
  • 4
  • 11
0
votes
1 answer

Can I make my webapp completely offline during first run?

I am having web application which when loaded makes some XMLHttprequests to get some dynamic data. Problem is that this webapp takes lot of time during first run, since it loads lot of resources online. I want to make this first run fast by putting…
anand
  • 11,071
  • 28
  • 101
  • 159
0
votes
1 answer

Does a modern browser also cache files referenced in files that are in the manefest

I am wondering if browsers save a 'Google Font' that is mentioned in a CSS file that is mentioned in a Cache Manifest? If not, what are the reasons for doing so?
0
votes
1 answer

Setting timeout for loading with appcache?

I've created a standalone web app that uses caching. It works very well if you have eithe My issue is that some scripts that require a network connection, like google analytics, block the page from rendering until they're loaded (at least if using…
0
votes
1 answer

Read appcache manifest value for latest update date

I have a web application running using appcache. This all works great, but I have a problem with a new device, that doesn't have an internal battery. Which means if the device boots up without network connection, the system time will be set to…
IngoAlbers
  • 5,722
  • 6
  • 31
  • 45
0
votes
1 answer

HTML5 Application Cache: incrementally add/remove items?

Imagine the following situation: a user comes to the website and he plans to use it offline. So we cache the items /a, /b and /c. Then the Appcache manifest should look like this: CACHE MANIFEST # user foo CACHE: /a /b /c NETWORK: * A day later…
Philip
  • 3,470
  • 7
  • 29
  • 42
0
votes
1 answer

How to make a cache manifest and HTML5 history work together

I have a single page web app that use HTML5 history. I recently added a cache manifest to make it works offline. The URL of the app is domain.com/app and when it load the cache manifest make this URL able to go offline. But once the app is ready,…
Nicolas BADIA
  • 5,612
  • 7
  • 43
  • 46
0
votes
1 answer

Custom HTTP header in the AppCache requests

Is it possible to add a custom HTTP header to each request executed as a cache update? i.e. cache.manifest CACHE MANIFEST CACHE: /page1.html /page2.html I would like the requests for the page1.html and page2.html be executed with a custom HTTP…
mrt
  • 1,669
  • 3
  • 22
  • 32