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

How to share a image from Application Cache with ContentProvider

i have a ContentProvider on my app, i use it to share images from assets folder. I used the solution proposed here: http://www.nowherenearithaca.com/2012/03/too-easy-using-contentprovider-to-send.html Now i need to share images stored on the cache…
0
votes
1 answer

WebAudio does not play and delays loading progress on iOS7 / iPad

I've build a web app which contains video and audio (both on-click). The app uses applicationCache to store all files on an iPad with iOS7. Video works perfectly in the cached (offline) version! The only (big) problem is, that the audio-files are…
John Doe Smith
  • 1,623
  • 4
  • 24
  • 39
0
votes
1 answer

how to HTML5 APPLICATION-CACHE with asp.net MVC4 for offline web-app?

I understand the app cache in html5 with static contents and with normal file extension, for example: index.html, theme.css, app.js The question is how to do app cache it with MVC4 for web-app?? The data is dynamic where comes from api and…
riseres
  • 3,004
  • 4
  • 28
  • 40
0
votes
1 answer

Emptying Windows 8 AppCache

My Windows 8 Store App uses AppCache to cache web resources. For testing purposes, I need to be able to empty or invalidate the entire cache from a separate application. Simply purging my WinINET cache (e.g. from Fiddler) doesn't delete my…
Justin R.
  • 23,435
  • 23
  • 108
  • 157
0
votes
1 answer

HTML5 AppCache: Application cache worked on development server but not on IIS 7.5

I am working on HTML 5 offline application. When i run that application on visual studio it works fine but when i stop my application then refresh my page it would fire Manifest error event but my application works fine from local cache. but when…
0
votes
1 answer

Get count of downloaded resources when using HTML5 Application Cache

When using the updateready event of the HTML5 Application Cache API I would like to provide the user with a dynamic count of downloaded resources (like "23 of 400") so he can know how much time he has to wait. On the console tab of the Chrome…
Pedro Almeida
  • 658
  • 1
  • 7
  • 10
0
votes
1 answer

Monitor updates of application cache in Firefox

I have a web app which uses application cache. I want to show progress of populating the cache after manifest is changed. Event handler applicationCache.onprogress is used to monitor the progress of file downloads. This works on Google Chrome and…
user1086737
  • 111
  • 5
0
votes
1 answer

Does Chrome expire application cache after not being used for an extended period of time?

The HTML5 spec section on Expiring application caches starts off with this: As a general rule, user agents should not expire application caches, except on request from the user, or after having been left unused for an extended period of time. Does…
Mike Mazur
  • 2,509
  • 1
  • 16
  • 26
0
votes
2 answers

How to clear "application cache" in chrome on ipad

I did clear all in chrome's setting->privacy, and then fully closed chrome and turned on the air mode. Then, reopen the chrome, visit the page that previously has been cached by HTML5 Offline and it worked (I expect it to be broken, because I did…
Mark Zhou
  • 13
  • 1
  • 6
0
votes
1 answer

Force application cache update after logging in / out

I am using the Application Cache feature and all is working well, however when I cache resources initially, I include a few pages that need to be accessible online. These pages are behind a login screen, and show the login screen instead of the…
joshschreuder
  • 1,413
  • 2
  • 18
  • 32
0
votes
1 answer

CRUD files on local (sandboxed) filesystem with chrome-extensions

I've been trying to do some CRUD operations to a local drive using chrome extensions. I understand i won't be able to access the local file system directly, a sandboxed environment will do. LocalStorage worked for data upto 5 mb. I'll be needing…
0
votes
1 answer

Application Cache for Dynamic Sites

I am making a php mysql web app, my idea is to install in the customer home a web server so they can connect with whatever device they want, probably most of the time they will be using an ipad to connect to the app. Sometimes the client needs to…
Matias
  • 461
  • 1
  • 5
  • 21
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

HTML Application Cache expiry

I've been asked to build offline access to some content that I've been working on, & was just wondering... Does the cache expire at all, & if so, is it after a certain duration, or dependant on device? My main focus for this is the iPad, if it makes…
TobyG
  • 1,692
  • 3
  • 21
  • 36
0
votes
1 answer

The PhoneGap app in Android didn't use the HTML5 Application Cache

The PhoneGap application in Android didn't use the cached file. But the HTML5 Application Cache is enabled and trigger event correctly. I had a website use HTML5 Application Cache: index file: …
Dozer
  • 5,025
  • 11
  • 36
  • 52
1 2 3
13
14