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

html5 appcache: does remote manifest file work?

Our application is deployed to the physical device, so the starting page index.html is sitting in the storage of a device, and this file will reference remotely hosted JavaScript files and other resources. That is, the index.html itself is not…
ycseattle
  • 3,687
  • 7
  • 36
  • 42
2
votes
1 answer

Application cache event noupdate is not getting fired intermittently on the Safari browser.

The window.applicationCache status is 2(Checking) when the issue occurs. I have some method called on the listener to some of the application cache change events. But when the issue occurs, I see none of the events getting fired. Request to Manifest…
Amit
  • 2,495
  • 14
  • 22
2
votes
2 answers

Should I put custom AppSettings web.config data into the ApplicationState?

I've got some custom values in the AppSettings, in my web.config file. These values get checked upon every Request. (Please ignore the fact that this might be a bad/good thing .. that's out of scope of the question). eg. So if every request checks…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
2
votes
0 answers

Application Cache Error event: Resource fetch failed (500)

After listening the application cache error, sometimes, I randomly capture the error "Application Cache Error event: Resource fetch failed (500) xxx.png" during loading application cache files. I can sure the file exits and most of error time, the…
Troy
  • 133
  • 1
  • 1
  • 8
2
votes
2 answers

How to handle appcache quota exceeded error?

In Chrome, I have an app using the applicationCache and halfway through an update, I get an error that says "failed to commit new cache to storage would exceed quota". This causes the application to break and never update again. Any ideas how to…
Chet
  • 18,421
  • 15
  • 69
  • 113
2
votes
1 answer

Application Cache Storage items have empty response?

I'm getting my preactjs website set up with service worker. Using the Sw-precache-plugin I'm just looking at the cache items it stores in the Cache Storage, and the entries I expected are all there but they have an empty response. I checked some…
StevieB
  • 6,263
  • 38
  • 108
  • 193
2
votes
1 answer

Implementing Progressive Web App's cached webpages using cache manifest in IOS

As we know that IOS doesn't have any support for service workers so working offline feature of PWA doesn't really work on IOS. So my question can we implement the same functionality using Cache Manifest or Application Cache in IOS ?
2
votes
1 answer

Enabling Application Cache in WkWebView using private API in Swift not working

According to sources (1,2) The below category that uses private API usually found in Safari lets WkWebView enable Application cache @interface WKPreferences (MyPreferences) -…
Durai Amuthan.H
  • 31,670
  • 10
  • 160
  • 241
2
votes
1 answer

Offline app loading which is a better approach caching or storing in dB

After getting the response from the server if the same network call was called again instead of showing the progress bar we can persist the previous result until the response comes. So I wanted to know which is a better approach is it to store in…
Aniruddha K.M
  • 7,361
  • 3
  • 43
  • 52
2
votes
2 answers

Data not syncing between CouchDB and PouchDB

I'm attempting to build a basic app with PouchDB on the client and CouchDB on the server with two-way replication. On the client I have: db = new PouchDB('mydb'); . . . sync = db.sync('mydb', 'http://localhost:5984/mydb', { live: true, retry:…
Mike Nitchie
  • 1,166
  • 2
  • 13
  • 29
2
votes
3 answers

Problems with HTML application cache in offline mode when the refresh button is clicked

I have a web app developed with application cache. I am testing it on Windows Phone 8.1 running IE 11 mobile. When the internet connection is turned off the web app loads as expected. My problem is that if I hit the refresh button on the browser…
2
votes
0 answers

VideoJS no poster image when Offline with HTML5 Application Cache

The poster image with video.js does not display when I'm offline with AppCache. I've included the poster image URL in the HTML5 application cache manifest file, but when I go offline (disconnect from the network completely), the poster image does…
2
votes
1 answer

Sencha Touch: load data into store from HTML application cache?

If I have a store, like this example: var myStore = Ext.create("Ext.data.Store", { model: "User", proxy: { type: "ajax", url : "/users.json", reader: { type: "json", rootProperty: "users" …
Adam Marshall
  • 3,010
  • 9
  • 42
  • 80
2
votes
2 answers

How to store file in Android which I want edit later?

I have a .vcf file and I want to put it in Android so I can read it from my code. The problem is that I cannot put it into assets folder, because I want to overwrite/edit this file later. How should I do this?
filipp.kowalski
  • 5,495
  • 7
  • 27
  • 45
2
votes
2 answers

Ttitanium webview and HTML5 application cache

I am using Titanium to create a application for Android. The app uses webview to load external HTML5 webpages. The webpage uses a manifest to cache the page and some assets. This works fine on desktop browsers and third party app browsers in Android…
hanw
  • 91
  • 2
  • 8