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

Caching with manifest, html5

File manifest.php contains data ACHE MANIFEST index.html page.html category.html If I change name of manifest.php to new_manifest.php, will it re-cache files or use the earlier cached data?
Alex F
  • 183
  • 2
  • 14
0
votes
1 answer

HTML 5 - addEventListener explanation

What does the following code mean? Especially the "if" section. Why does the alert only fire sometimes? window.applicationCache.addEventListener('updateready', function(e) { if (window.applicationCache.status ==…
0
votes
1 answer

HTML5 Application Cache in IE8-9

HTML5 Application Cache isn't supported by IE8 and IE9. What would happened with website which uses HTML5 Application Cache when opened in IE8 for example? Will it be loaded as usual or throw an error?
0
votes
1 answer

MemoryCache is not persisting the object (dataset) for any Ajax calls - ASP.Net MVC application

I have some static values coming from Database which needs to be persisted in the application for every user logins.(I am using ASP.Net MVC 4 application) For that I have implemented MemoryCache (not sure if this is better than to use…
Biki
  • 2,518
  • 8
  • 39
  • 53
0
votes
1 answer

Using HTML's Application Cache without caching the current page itself?

My page references a lot of PDF's. If the user loses connection to the Internet or their network, which unfortunately seems to happen quite a bit for our users in the middle of nowhere, I would still like them to be able to access the PDF's. Using…
Jesse Sierks
  • 2,258
  • 3
  • 19
  • 30
0
votes
1 answer

Why isn't my HTML5 Application Cache working?

i have my setup/code as follows (btw, i am following the nettuts quick tip) // index.html // cache.manifest CACHE MANIFEST # version 2 index.html style.css scripts.css // httpd.conf (i…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
0
votes
0 answers

WebStorage Android equivalent api in iOS?

I went through Android WebStorage class http://developer.android.com/reference/android/webkit/WebStorage.html and found that it provides clean ways of deleting storage used by Application Cache and and Web SQL Database api. I want to know whether…
dev gr
  • 2,409
  • 1
  • 21
  • 33
0
votes
1 answer

Appcache working in Safari but not Chrome Windows 8.1

I have a webservice running locally (I also tried hosting it on Windows Server). Chrome debugger shows the appcache loading ok and chrome://appcache-internals/ shows the appcache itself. As my app is using websql the only alternative browser for…
rory
  • 1,490
  • 3
  • 22
  • 50
0
votes
1 answer

windows phone refuses to use the application cache

I have an offline first web app https://onsite.kctrust.co.uk which uses the application cache and works perfectly on all browsers (IE10+) and on ios and android. The problem is Windows phone 8.1 refuses to use the cache. It will load from the…
Rich Andrews
  • 4,168
  • 3
  • 35
  • 48
0
votes
0 answers

Application cache not working when server unavailable: Applicaion Cache Error event: Manifest fetch failed

I'm working on a little project to create an offline application using HTML5, IndexedDB and Angular. I've been testing the application cache functionality by toggling air plane mode on my laptop and so far so good. However, my requirements are that…
Aries51
  • 379
  • 1
  • 8
0
votes
1 answer

SPA (Single-page app) load always from cache

I have a SPA (Single-Page Application) written using OpenUI5 framework. It works well (when I'm in debug mode or using cache-killer https://chrome.google.com/webstore/detail/cache-killer/jpfbieopdmepaolggioebjmedmclkbap) but now I have pushed the…
padibro
  • 1,324
  • 10
  • 56
  • 95
0
votes
1 answer

Fallback in html 5 application cache not working

My appcache is given below and it works perfectly. It works great when i am offline and visit nocache.html page where it shows me offline.html page. Below is the working example - CACHE MANIFEST cache.html NETWORK: nocache.html FALLBACK: /…
yogihosting
  • 5,494
  • 8
  • 47
  • 80
0
votes
0 answers

HTML5 Application Cache, refreshing a single file

I use the application cache to make my webapp work without internet access. When a new version of the app is ready, the manifest file is changed to trigger a re-download of the app. The app uses a lot of json data, and what I've done is have the app…
Drakim
  • 1
0
votes
1 answer

How to update the cache on each page's Load - Application Cache

I'm using the application cache for an offline mode for my application, and the main page will be changed often, so I want to update the cache every time the HTML page is updated. Or, to update the cache for every page's load. I'm using this code,…
Stranger B.
  • 9,004
  • 21
  • 71
  • 108
0
votes
1 answer

html5 application cache not getting initiated

I have a the simplest html page which i have hosted on a spring application on appache tomcat server . http://10.10.1.143:9999/abcApp/launch.lc . …
Rajesh Wadhwa
  • 1,016
  • 2
  • 8
  • 14