Questions tagged [application-cache]

The Application Cache (or AppCache), part of HTML5, allows a developer to specify which files the web browser should cache and make available to offline users. Your app will load and work correctly, even if the user presses the refresh button while they're offline.

Application Cache is an obsolete part of HTML5:

Do not use it in old or new projects. Pages or Web apps using it may break at any time. It's in the process of being removed from the Web platform. Use Service Workers instead.

References

207 questions
4
votes
5 answers

Application Cache Error event: Manifest fetch failed (404)

I have already one site, for that I have created one mobile site using jquery mobile with application cache features. (Both have same urls) Using apache2 userAgent settings I redirected to mobile site for (Android and Iphone). When It redirected to…
4
votes
1 answer

HTML5 Application Cache Error Event Detail

I have an HTML5 offline app and on occasion users have cache errors which I handle with the event listener and display a generic error message. In order to help debug these I'd like to also display and log the error details (as seen in the Chrome…
sreimer
  • 4,913
  • 2
  • 33
  • 43
4
votes
2 answers

Is there a way to query the HTML5 application cache?

Is there a way to query the contents of the HTML5 application cache? I'm writing an iOS application that uses a lot of cached web content. Before loading a given page when the app is offline, I'd like to check whether the page exists in the cache.…
Caleb
  • 124,013
  • 19
  • 183
  • 272
4
votes
1 answer

applicationCache event not raised

In Chrome, catching the applicationCache event works (see below) but not in FireFox 17 (even though I see from the info that after allowing the appCache to fill, there is 1.7MB in it). So it is working, but I am not getting the event. Why? (this…
Dr.YSG
  • 7,171
  • 22
  • 81
  • 139
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
2 answers

How to disable HTML5 application cache in Firefox specifically

Since Firefox is prompting the user to store data when using the HTML5 application cache, I want to disable it in Firefox to avoid the prompt notification. One way to do that is serving two different HTML files: one for Firefox with and one…
brillout
  • 7,804
  • 11
  • 72
  • 84
3
votes
2 answers

ElectronJS - Cache HTML and JS files from remote server

I have an electron app that retrieves the app files (.html & .js) from a remote server using the function mainWindow.loadURL('http://www.example.com/index.html') The problem arises if the users network connection to the internet is offline or…
samb90
  • 1,063
  • 4
  • 17
  • 35
3
votes
4 answers

Using Wildcard in FALLBACK section of Cache manifest file HTML5

How to create an offline enabled web-application such that when user visits hxxp://mywebsite/ and is offline than hxxp://mywebsite/offline/ is displayed. [There are about 100 different dynamic pages in my website, so I cannot afford to hardcode all…
ashishb
  • 534
  • 7
  • 17
3
votes
1 answer

HTML5 application cache: How to exclude the htm-file from cache where the manifest is defined

We are using HTML5 application cache in our single-page-web-application. The manifest-file is defined in the -tag of the index.htm-file: The index.htm-file is the only htm-file…
3
votes
2 answers

weird html5 manifest reloading

I'm having a strange problem with the HTML5 manifest file under Chrome 5.0.375.99 but everything seems to be working fine under Safari. When loading a page for the first time with the manifest file specified for the first time, I can observe using…
sean
  • 11,164
  • 8
  • 48
  • 56
3
votes
1 answer

Is ApplicationCache for FF/IE 10 fully implemented (or implemented correctly)?

Issue: Unable to get Fallback resources to get served from applicationCache (Offline cache) when the browser is set to “Work Offline”. Environment details: Windows 7 64-bit SP 1 IE 10 ver. 10.0.9200.16438 Firefox ver. 18.0.1 IIS ver…
2
votes
1 answer

iOS 5 Mobile Safari application cache changes?

I'm wondering if anyone has run into new problems with using the HTML5 application cache in Mobile Safari on iOS 5 devices? I had previously written an offline web app that worked well in iOS 4, but as devices that use this app are being moved over…
2
votes
1 answer

Testing html 5 application cache in GWT hosted mode

I'm going to start writing a GWT app with offline capability. In order to use html 5's application cache function, the web server must return a "filetype: text/manifext" header with the manifest file. Does anyone know how I return this header in GWT…
phil-daniels
  • 574
  • 2
  • 10
  • 28
2
votes
4 answers

Application cache: strange behaviour on iPad

I'm making a website where a user can say which items he wants to cache. Based on this, a manifest file is generated. By doing this the user can still browse in the website when he is offline. This is all working fine in google chrome. But on iPad…
2
votes
1 answer

HTML5 application cache on iPad offline app - not working if server is unavailable?

I'm developing a small HTML5 web application for iPad that is intended to work in fullscreen mode (ie. it has the proprietary Apple meta tag, it is added to Home Screen): The application…
Neo
  • 1,176
  • 2
  • 10
  • 15