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
2
votes
1 answer

ApplicationCache and error when offline

I have an HTML5 offline application that works rather well, the cache validates, and it works in general, until I actually force the device (or computer) offline. I have a handler attached to window.applicationCache.onerror so I can handle and…
Matt Sieker
  • 9,349
  • 2
  • 25
  • 43
2
votes
1 answer

HTML5 application cache - cached files do not update, even when manifest is updated

I have a versioned cache manifest: #version = e5b4271 Every time this version changes, my webapp loads the new manifest, but it never loads update files from the server. Even when I clear the browser cache (not the application cache itself), or hit…
Ben Davis
  • 13,112
  • 10
  • 50
  • 65
2
votes
1 answer

HTML5 App Cache fails with Firefox 11 - works with Chromium

I have successfully tested HTML5 Application Cache under Chromium. For instance: CACHE MANIFEST http://localhost/pycoh-mnt/materialRequisition/create The above URL renders an HTML5 file. When I protect it with cookie-based authentication, Firefox…
clapas
  • 1,768
  • 3
  • 16
  • 29
1
vote
1 answer

Can I use application cache fallback for different hosts?

I have sample site: /index.html /appcache.manifest /style.css /test.js index.html:
tbicr
  • 24,790
  • 12
  • 81
  • 106
1
vote
1 answer

Application cache only when users want it?

Some browsers does not asks the client if he want use the application cache, but simply just downloads the whole thing at first visist (e.g. the browser on android). That can cause troubles when the application cache is many MB's and the client is…
Eilev
  • 263
  • 1
  • 10
1
vote
1 answer

how to determine if applicationCache has been approved in firefox

Currently, when you try to use the application manifest by specifying it in the html tag: Firefox will prompt you to allow it (yes/no/never again). How can I check if that request has been approved/denied already?
jsharpe
  • 2,546
  • 3
  • 26
  • 42
1
vote
0 answers

HTML5 Manifest only see fallback

Hey guys my Manifest is as follows: CACHE MANIFEST CACHE: images/trunk/text/text-images.png css/site.css FALLBACK: / offline.html NETWORK: * I've since fixed a random random problem whereby safari couldn't load google maps without NETWORK *.…
williamsandonz
  • 15,864
  • 23
  • 100
  • 186
1
vote
1 answer

Do iPhone Offline Web Apps and Safari share the same HTML5 Application Cache?

I have a web app that is intended for use as an iOS offline web app. A key feature of the app is that users can download files with extensions like .doc, .ppt, .pdf, etc. To make these available offline, I am making entries for any such files in a…
Keith B.
  • 11
  • 2
1
vote
2 answers

HTML5 ApplicationCache - How to set an expiration date for cached pages?

I would like the cached pages to be deleted at a specific date. How is it possible to specify that date? In my case, I need the dates to be dynamically set for each page.
Matthew
  • 10,988
  • 11
  • 54
  • 69
1
vote
1 answer

Webapp application cache updates

I have a Webapp that uses the application cache for offline and online access. The problem I'm running into is that some of my users are not seeing updates when I change the manifest file. It works for me and for others, so my only theory is that…
srkleiman
  • 607
  • 8
  • 16
1
vote
1 answer

Updating cached items in HTML5 application cache (Chrome)

I have a web application that I thought would be well-suited to using the application cache, a utility for a board game I play. I went through a tutorial in the application cache, and it worked well... a little too well. Most of the scripts in my…
Asmor
  • 5,043
  • 6
  • 32
  • 42
1
vote
2 answers

AJAX not working with cached iPhone webapp

I just made an offline iPhone webapp with the application cache. But the AJAX-calls made with the cached JS-file don't work anymore. It are just jQuery GET requests. They fail to work, but why? I have internet connection, the webapp needs to update…
seymar
  • 3,993
  • 6
  • 25
  • 30
1
vote
1 answer

Will HTML5 offline storage always treat URLs with different GET parameters as different resources?

If I use HTML5 offline storage to cache a file like so in the manifest: CACHE: render_image.php then what happens if the page includes code like so?: foo My experimenting indicates that…
Trott
  • 66,479
  • 23
  • 173
  • 212
1
vote
1 answer

SVG Fonts and Cache Manifest

"SVG fonts don't work with a cache manifest. Due to the manifest treating # as comments and Mobile Safari requiring the font ID reference in the URL. (via Tristan Dunn)" http://paulirish.com/2010/font-face-gotchas/ Just to recap, essentially iOS…
Jamie
  • 371
  • 3
  • 17
1
vote
2 answers

Preventing HTML5 applicationCache checking event on offline application load

I have an HTML5/jquery mobile web app at http://app.bluedot.mobi. It is used for long distance races to track competitors via SPOT satellite tracking. The issue I have not yet resolved is that when loading the app when no data connection exists,…
DaveH
  • 33
  • 5