FAQ Database Discussion Community


Where to set cache headers for manifest file on django app?

django,offline-caching,django-mediagenerator
I'm using django mediagenerator to compress and setup for offline and it is mostly working, but when I regenerate the media files (which updates the manifest file) the browser does not notice that it has changed so reads the old manifest which references files that are not longer there (as...

Caching in Webview is not working in Android

android,caching,webview,browser-cache,offline-caching
When I open webview, it runs great when there is a network connection, but I have enabled caching in it, and without a network connection, it shows an error and loaded cached web page is not showing. I have enabled caching and also set cache mode, but it's not working....

Detecting applicationCache viability of remote resource

javascript,cross-domain,offline-caching,application-cache
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 local filesystem and is loaded via a webview. This is a...

Handling offline events

android,caching,event-handling,offline-caching,android-handler
I am doing offline caching.I want to allow user to make events even when he/she is offline.For that I am using a handler that checks every second whether net connection is there or not and whenever net connection is there it executes the task associated with the event.For example if...

Offline Caching(HTML5)

asp.net,asp.net-mvc,html5,caching,offline-caching
I am facing some difficulty to update cache information from the server by using HTML 5 offline caching method. Here is the list of steps, 1- Created one cache.manifest file with following entries CACHE MANIFEST # Version 1.0 CACHE: /loading.js /images/pan-icon.png NETWORK: * Then i jest add following event binder...

HTML5 Indexeddb commands to read the data is not supporting in the Ipad Safari (version 8.1)

jquery,html5,local-storage,indexeddb,offline-caching
Query Description:- This question is particularly with the issues that I am facing in reading the indexeddb data in the Ipad Safari 8.1. I am able to create Indexeddb and insert the data into it. But unable to read the same in Ipad safari. Below is the code format that...

Best practices in syncing data

synchronization,sync,offline-caching,offlineapps
Context A mobile application can add/edit/delete a customer in it's own offline database. A web application can also add/edit/delete a customer in the master database on a web server. The mobile application will try to sync it's database with the master database every X hours, provided it has an internet...