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.
Questions tagged [html5-appcache]
516 questions
0
votes
0 answers
How to force HTML5 appCache to never fail (online, offline, or remote server down)
I have an Android web app using a manifest file caching remote resources (html, images, css, js) that work fine for moments but I can't find a way to make it work all the time... A lot of things seems to make the app load fail randomly (not…

Etienne Desgagné
- 3,102
- 1
- 29
- 36
0
votes
1 answer
phonegap and appcache not working
I use phonegap 2.8.1. I load a page from a url which has appcahe enable for html5.
Page loads correctly.
If I turn the wifi off when accessing with
window.location.href = 'http://192.168.0.20/myapp';
it says that it cannot find the server rather…

Harris
- 1,128
- 4
- 17
- 41
0
votes
2 answers
AppCache Fallback when offline
I have 2 files: index.php and offline.html. I simply want to have dynamic content in the index.php (no cache on this) but when the user is offline I want to fallback to offline.html.
With my example below, Google Chrome caches index.php and when…

user1427930
- 109
- 2
- 9
0
votes
1 answer
Appcache load fails with jQuery callback parameter
I have the HTML template resource "steg3rad.html" stored in my appcache manifest. In my javascript file I fetch the template file using an jQuery AJAX GET request. Sometimes jQuery adds a callback parameter to the GET request. This results in Chrome…

x3m
- 533
- 5
- 16
0
votes
1 answer
Can I manually add pages to the browser's cache?
My page makes two requests: one to /login and one to /treeContents?rootID=9 for example. I'd like to combine them into one request, /loginAndTreeContents?rootID=9
But, the old way means that subsequent requests to /treeContents?rootID=9 will be…

Verdagon
- 2,456
- 3
- 22
- 36
0
votes
1 answer
Google APIs Client Library for Javascript and Offline Web Applications
My web application uses the Google APIs Client Library for Javascript https://code.google.com/p/google-api-javascript-client/.
I would like to make the application usable in offline mode as well. It is clear that I cannot make any API calls while…

Marc
- 4,327
- 4
- 30
- 46
0
votes
0 answers
Problems with CSS in Offline KnockoutJS App
We've developed a knockout app using html5 appcache, everything works fine except the CSS. The CSS is loaded from the appcache as expected when offline and the first view is fine with everything displaying correctly. The problem starts when I update…

ChrisInCambo
- 8,455
- 15
- 50
- 63
0
votes
1 answer
HTML5 Cache usage with Querystring
i have a problem with the HTML5 caching. Here is a brief explanation about the thing i'm trying to do:
I have a webpage(.aspx) to create and store a form.
I'm using 2 different webservices in my form. Let's say services are A and B.
A is a .net…

Emre Çınar
- 30
- 2
- 9
0
votes
1 answer
Adding a NETWORK section to HTML5 manifest file and accessing iPhone web-app in airplane mode
The facts
I'm building an HTML 5 responsive website with an offline mode. To do that, I'm using a manifest file with a FALLBACK section and the browser's localStorage to store the pages that the users decide to save for offline access.
Everything is…

Jérôme Morlon
- 191
- 1
- 7
0
votes
1 answer
HTML5 appcache: images in CSS
Let's say I have a website with following pages:
www.server.com/index.php
www.server.com/anotherPage.php
www.server.com/css/style_for_index.css
www.server.com/css/style_for_anotherPage.css
Assuming, I am visiting www.server.com/index.php:
When…

RoRu
- 15
- 7
0
votes
1 answer
html5 offline cache is caching all files instead of cached files that are listed
I am trying to use offline caching of html5. But problem is it is caching all html files and not the ones I mentioned in cache manifest file:For ex: I have 4 html files: index.html, test.html, sample.html, fallback.html and I have sample.appcache…

user2025527
- 109
- 2
- 12
0
votes
1 answer
html5 cache manifest setting up
According to the manual I read online, in order to use cache manifest, I need to do the following two steps:
1. I need to add 'AddType text/cache-manifest .manifest' in a .htaccess file.
the question is where can I find .htaccess file?
2. compose a…

pan
- 1
0
votes
1 answer
Appcache offline
We are working on content loading where in case if we are connected,the content should be brought from network. If we go offline, it should bring from cache. what settings should we do perform this. kindly guide.
regards,
balaji

user1202056
- 39
- 5
0
votes
1 answer
HTML5 `favorite` offline caching
I'm currently building an application with which you can create playlists of song lyrics and cache them for use offline. You can also cache your favorites (JSON array).
Now, because the favorites are cached - the add favorite button doesn't work in…
user684202
0
votes
1 answer
Prevent application cache from being discarded after cache manifest returns 404
I've created a web app and placed it on our intranet web server. If an iPad loads the app while on the intranet network, the app works. If I turn on airplane mode, the app works in offline mode.
However, I believe (and I don't have a debugger to…

Mister Epic
- 16,295
- 13
- 76
- 147