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
8
votes
2 answers
Application Cache Error event: Resource fetch failed (-1)
I am trying to store a mp4 video file (rather small ~ 2.5MB) in the local app cache.
Manifest looks like:
CACHE MANIFEST
viddy.mp4
Chrome (22.0.1229.94 m) will log the following in the console:
Creating Application Cache with manifest…

m90
- 11,434
- 13
- 62
- 112
8
votes
0 answers
Firefox does not load page from offline cache manifest, but works fine on Chrome (+ cache manifest troubleshooting tips)
This is basically identical to this SO questions which has not been answered: Offline Web App not caching on Firefox but ok on Chrome
I'm experiencing the same problem and I'll provide a bit more information because it might help someone trying to…

edpeciulis
- 145
- 1
- 3
- 9
7
votes
3 answers
Omit current page from HTML5 offline appcache but use cached resources
For performance purposes, I want to have some of my web pages use resources that have been cached for offline use (images, CSS, etc.) but to not have the page itself cached as the content will be generated dynamically.
One way to do this would be to…

Trott
- 66,479
- 23
- 173
- 212
7
votes
3 answers
Implementing Service Workers with an appcache fallback for unsupported browsers
I'm looking into techniques for building a Progressive Web App in Aurelia with offline functionality that works across the major browsers. Service Workers are seemingly the preferred option for asset caching, but with lack of support in Safari (and…

SeeNoWeevil
- 2,549
- 4
- 26
- 39
7
votes
1 answer
Caching an Angular2 application using HTML5's Application Cache
I am working on a web application developed with Angular2 that needs to be fully functional offline. The browser that are to be supported are Google Chrome, Safari and Internet Explorer 11. To achieve this, I have looked into the possibility of…

O. Renius
- 71
- 2
7
votes
1 answer
extract urls for js & css files from html? (using node.js)
I want an array of urls from an html string, although only from the following tags:
link href="http://example.com/foo.css"
script src="http://example.com/foo.js"
I would like these urls so I can put them into an appcache manifest file. I use an…

Gavin
- 752
- 8
- 20
7
votes
3 answers
Webfont (font awesome) Not Working Corrently Offline
I've been having issues getting webfonts (font awesome to be specific) displaying properly whilst my app is offline.
so I have my font in the manifest
fonts/fontawesome-webfont.ttf?v4.1.0
When the app first loads online, the ttf file loads and gets…

T00ks
- 165
- 1
- 9
7
votes
2 answers
Appcache in Cordova app
I'm developping a mobile app using Cordova (3.4). My core application files are embedded in my app archive (.apk or .ipa), and some files (js/html/css) must be retrieved from my server.
So if I want my application usable offline I need to use…

Tako
- 661
- 12
- 34
7
votes
0 answers
Lost appCache by Android 4.4 WebView
I'm developing android 4.4 application using WebView of Chromium base.
It lost to the appCache when the process is Kill. (Ex. task list, settings - application - stop)
android 4.3 or lower is no problem.
app start on Online
launch WebView activity …

user3419390
- 71
- 1
- 5
6
votes
3 answers
How do i allow json requests when using HTML5's appcache feature?
When i added appcache to my webapp running jquery mobile, all the ajax-calls requesting json-files from my server stoppet working. My manifest-file looks like this:
CACHE MANIFEST
CACHE:
index.html
scripts/jquery-1.7.1.min.js…

user1274438
- 71
- 1
- 4
6
votes
3 answers
6
votes
2 answers
Can we support offline Single Page web apps in iOS 10+?
We are developing a Single Page RWD web app which supports all mobile form factors. We would like to
have the webapp support offline browsing capability as well
Once the data is downloaded from server, user should be able to see that data even if…

Apps
- 3,284
- 8
- 48
- 75
6
votes
1 answer
How make browser update script file when manifest updates but allow caching?
I have tried two different ways and both do not work:
1. Update the manifest so browser sees there's changes and updates
This updates all files except JavaScript files. The browser sees there's a difference, downloads everything (including…

Don Rhummy
- 24,730
- 42
- 175
- 330
6
votes
1 answer
How to get app cache manifest to work on Safari 7.0.3?
I am already hooked for two days now and it's driving me crazy. Hopefully someone can shine some light on this matter.
I am running:
Mavericks (MAC), Safari Versie 7.0.3 (9537.75.14)
My index.php looks like:

Mark
- 16,906
- 20
- 84
- 117
6
votes
0 answers
AppCache misbehaving in Safari, Firefox
I'm having some major trouble with AppCache.
I've got a single page application (with real URLs using using Page.js and loading HTML from the server on page load, (dispatch: false)
It's running on Bode.js, in particular it's a Sails.js app.
I've got…

Naman Goel
- 1,525
- 11
- 16