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
195
votes
6 answers

Can local storage ever be considered secure?

I'm required to develop a web application that will function offline for long periods. In order for this to be viable I cannot avoid saving sensitive data (personal data but not the kind of data you would only store hashed) in local storage. I…
user1173706
  • 2,612
  • 3
  • 19
  • 29
65
votes
1 answer

Safari 7 application cache does not work

In Safari 7, the main html file with a manifest is loadable when offline, but none of the external resources are loaded, even if they're listed in the manifest file as cached. Safari's resource pane lists the files as in the application cache, but…
Guy Goldstein
  • 850
  • 5
  • 11
28
votes
4 answers

Removing HTML5 Offline AppCache

I have an HTML document with an associated appcache manifest. But now I want to get rid of offline application caching for a while. If I remove mention of the manifest from the tag, browsers that already have a cached version will continue…
Trott
  • 66,479
  • 23
  • 173
  • 212
23
votes
3 answers

My HTML5 Application Cache Manifest is caching everything

UPDATE: ** I posted this question when this feature was really new, I realize now that this feature should not be used this way unless it is used via JavaScript. but seems like this hack is a great solution for most beginners who make the same…
Neo
  • 11,078
  • 2
  • 68
  • 79
20
votes
2 answers

Manifest fetch failed (9)

I've been working with Appcache for quite some time, but I recently took a couple of weeks to develop a different project. When I returned to my offline project, I started getting this error every time I try to download the contents of my…
19
votes
2 answers

What's wrong with my appcache manifest test?

I'm trying to test Appcache manifest: CACHE MANIFEST #…
NoBugs
  • 9,310
  • 13
  • 80
  • 146
18
votes
2 answers

Comparison between service worker and AppCache

What are the core differences between service worker and AppCache. What are the pros and cons of each and when to prefer one over another .
biswpo
  • 771
  • 7
  • 23
16
votes
3 answers

Browser Cache Vs HTML5 Application Cache

Is HTML5 Application Cache different from browser cache?? If so, in what aspects, it is different and how this mechanism works?? And tell me how using AppCache we can improve browsing performance.. Also discuss about the pros and cons of HTML5…
15
votes
2 answers

HTML5 Local Storage VS App Cache Offline Website Browsing

After going through multiple articles, I am still not clear on the difference between Local Storage and App Cache Manifest. Also referred: Is AppCache = Application Cache = Web Storage's LocalStorage? (SO 10986026), Application Cache is a Douchebag…
cosmoloc
  • 2,884
  • 5
  • 29
  • 48
15
votes
3 answers

Git: handling an appcache?

I'm hosting an OSS project on GitHub that has a few different developers. This project is a web application that is using an AppCache to tell the browser which files should be made available offline. It's the nature of the appcache file that it…
Chris
  • 3,265
  • 5
  • 37
  • 50
15
votes
3 answers

Is Service Worker intended to replace or coexist with Appcache?

Is ServiceWorker intended to replace Appcache, or is the intention that the two will coexist? Phrased another way, is appcache about to become deprecated?
James
  • 773
  • 2
  • 18
  • 29
15
votes
1 answer

iOS Web App - how to deal with overzealous app caching?

I've been developing a pretty complicated HTML5 web app for the past month. Last night my iPhone suddenly decided to cache all JS, CSS, and images and not load any updated copies. This happened on my partner's iPhone too, so I'm going to assume…
Ben Y
  • 1,711
  • 1
  • 25
  • 37
14
votes
1 answer

Nginx config for single page app with HTML5 App Cache

I'm trying to build a single page app that utilizes HTML5 App Cache, which will cache a whole new version of the app for every distinct URL, thus I must redirect everyone to / and have my app route them afterward (this is the solution used on…
winduptoy
  • 5,366
  • 11
  • 49
  • 67
14
votes
1 answer

HTML5 Offline Manifest Stop Caching Page It Is Declared On

I've been playing around with the cache manifest file and trying to get it to stop caching the page that it's declared on. From HTML5 Rocks any page the user navigates to that include a manifest will be implicitly added to the application…
Greg
  • 31,180
  • 18
  • 65
  • 85
13
votes
3 answers

Pre-populate HTML5 offline appcache for a UIWebView in an iOS application

Is it possible to create a UIWebView that has an HTML5 offline appcache pre-populated so that it will work offline even if it is the first time the user is accessing the UIWebView? If so, how? I know I can achieve this through other mechanisms, but…
Trott
  • 66,479
  • 23
  • 173
  • 212
1
2 3
34 35