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

Detecting applicationCache viability of remote resource

I am trying to determine if cache (as obtained via applicationCache and HTML5 cache-manifest) is available located on a different domain (local file system vs WWW). The cache-checking resource (a gateway mechanism, if you will) is located on the…
0
votes
1 answer

Cache manifest cache all files

I have a problem with manifest cache in HTML 5. Here is my manifest file: CACHE MANIFEST # This manifest was generated by grunt-manifest HTML5 Cache Manifest Generator # Time: Tue Jan 13 2015 15:05:00 GMT+0100 (Central European Standard…
0
votes
1 answer

Deploy Ember Application

I have created an ember application (prior to the arrival of Ember CLI) which follows a file hierarchy as given below: Modules Controllers Views Models Routes App.js I would like to know that is there any way to deploy these files by compiling…
0
votes
1 answer

prevent ajax call if application cache is being updated

i am writing an offline web application. i have a manifest files for my applicationCache. and i have handlers for appCache events. i want to detect if the files being downloaded are being downloaded for the first time or being updated. because in…
Marcelo Biffara
  • 811
  • 4
  • 8
0
votes
0 answers

Is there a limit on how many times Google Chrome can reload the contents of applicationCache?

Is there a limit on how many times Google Chrome can reload the contents of applicationCache? I've noticed (and I'll be the first to admit that it's a little vague) that there seems to be a hard limit on how many times I can reload my web app before…
Kevin Teljeur
  • 2,283
  • 1
  • 16
  • 14
0
votes
1 answer

how to drop application cache in a website which already use it?

recently, I researched on HTML5 application cache. I plan to use it to cache the whole website, including html,js,css and image. but I have one concern about using application cache. if in the future, we have to change the architecture, we may drop…
Freedom
  • 803
  • 10
  • 26
0
votes
1 answer

Cache manifest validator Proxy Error on manifest-validator.com

I am trying to use http://manifest-validator.com/ to check my cache manifest file by URI. It has been failing with the message: Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the…
Paul Trotter
  • 607
  • 7
  • 14
0
votes
1 answer

Files don't respond to application cache updates over https, but do for http

We have a webapp that is configured to use an html cache manifest to cache all our files and work offline. Our app runs primarly through Google Chrome. Until recently we haven't needed to run over https, and everything performed as expected over…
DSurguy
  • 375
  • 1
  • 9
0
votes
1 answer

when using vs2013,Failed to parse manifest; but worked well on vs2010

recently, My company need me to do something on application cache, and I read this article: http://www.codemag.com/Article/1112051, I followed his steps,but it cannot work by using vs2013, it will show you the right page, but when you press f12 in…
0
votes
2 answers

Problem With HTML5 Application Cache Whitelist - Won't Ignore Items

I'm trying to use HTML5 Application Cache to speed some things up on an iPhone webapp. It works great for storing images, css and JS, but the problem is that it also tries to store the HTML. I haven't been able to get it to ignore the html and…
0
votes
1 answer

Using application cache for storing CSS and Javascript files in MVC web application

I'm using a lot of frameworks in my website (Knockout, bootstrap, jquery, jquery ui etc) which is causing it to load slow. Is it a good practice to store these javascript files (ex knockout.js) and associated CSS files(ex bootstrap.css) in…
0
votes
1 answer

Array of css files being requested

Is there anyway to get an array of stylesheet being requested by the site. Like in module stage of loading. The point is that i am making application cache for drupal site, and (captain obvious) i need css files also to be downloaded. Drupal add's…
J0N3X
  • 228
  • 2
  • 14
0
votes
1 answer

Keep Application Cache download running accross page loads

I recently made a web application that utilises Application Cache extensively. It caches a big chunk of data (Some 600 requests and about 50 megabytes). The content is faily static so thats 4-5 minutes download time is OK. However, once there is a…
0
votes
2 answers

AppCache Fatal Error

Appcache is working in Chrome perfectly, however in IE(11) I'm getting a very vague "AppCache Fatal Error". My syntax is as follows: CACHE MANIFEST # 2014 03 04 Verson 1.0.4…
0
votes
1 answer

adding event handler to applicationCache leads to compile error

If I add this line to my code if (window.applicationCache) { applicationCache.addEventListener('updateready', window.location.reload); } I get this weird error: /home/matej/archiv/2014/projekty/zalmy/zalmy.ts(58,22): error TS2082: …
mcepl
  • 2,688
  • 1
  • 23
  • 38