Questions tagged [offline-caching]

Offline caching typically means storing locally the data obtained from a remote service to make it possible to browse the data even when there is no connection to the storage.

The details of the implementation depend on actual needs of the application; however, in any implementation there is a local cache of data obtained from the service, so some requests for the remote data may succeed in that cache. It depends on the application logic how the cache is updated, and whether and how the user may control that.

A good example of an application that uses offline caching is a desktop e-mail client. It downloads all new mail from the server to the user's computer during the sync session; the user may browse the mail and write the replies; the outgoing mail will be sent when the application perfoms the next sync.

714 questions
2
votes
0 answers

IE11 'Enable Protected Mode' is breaking the 'Application Cache'

Background: I am building an html5 offline application that should get cached into the browser once it is loaded from the server. I use 'Application Cache' and manifest file to get my page working in offline. My application is running on a Java…
2
votes
0 answers

Tracking user activity when internet is offline, using javascript and perform them when internet is back

What I am going to develop is an offline web application framework, where we can track all the http requests occurred when internet is down(e.g form submissions, ajax requests ect.) I know I can store static html pages, css/js script files, images…
Aruna Tebel
  • 1,436
  • 1
  • 12
  • 24
2
votes
3 answers

How can data be saved in an offline website?

I would like to have an offline website -- HTML/JavaScript/CSS in some format (a folder, zip, SingleFile, or MHTML) -- that has a form that a user A can enter data into, and then have that data saved to the website somehow so that it can be…
Luke
  • 18,811
  • 16
  • 99
  • 115
2
votes
2 answers

Core Data Sync in existing online App

Developed one of the large scale app with several versions on Appstore. I have used AfNetworking as a networking framework. So far everything is online like i make asynchronous API calls and load data and display error if internet is not…
Tariq
  • 9,861
  • 12
  • 62
  • 103
2
votes
1 answer

Possibility to background cache to a specific RMDatabaseCache from the RMTileCache?

I want my users to be able to download multiple offline map areas and be able to access them through only one tilesource. My initial thought was to have a RMDatabaseCache for every area and add that to the RMTileCache. I've tried several approaches…
guido
  • 2,792
  • 1
  • 21
  • 40
2
votes
1 answer

Offline Application Development using Kendo UI

I am trying to develop the application using Kendo UI. This will be html application using Kendo UI and the data will be provided by Web API. The main purpose is i want this application to be offline enabled. Means if there is no internet connection…
Sachin Trivedi
  • 2,033
  • 4
  • 28
  • 57
2
votes
1 answer

In what scenarios I can get "Application Cache Obsolete event "

Sometimes my webapp which I have enabled to make it work for offline using HTML5 appache is getting Obsolete event . Application Cache Obsolete event Because of this my cache is getting deleted and webapp stops working. How can I fix this ,…
anand
  • 11,071
  • 28
  • 101
  • 159
2
votes
4 answers

how to fetch data from local json file?

I created a json file locally. I can view that in data>data>com.example.storage>files>filename.json. Using this, I want to fetch all the text values locally & download all images and save it in SD card from Image URL which is available in the json…
user3879110
  • 17
  • 1
  • 7
2
votes
0 answers

SQL Server 2014 / Data Sync / Offline application

I'm looking for CURRENT advice/information on how to manage an offline client that will sync changes to the cloud. I would love to find an example using SQL Server 2014. Primarily the client app is a data collection device that will upload the data…
2
votes
3 answers

How to persist Firebase objects to disk in iOS?

It seems that Firebase iOS implementation doesn't support offline caching of the client model. What this means in practice that: For Firebase apps requiring an authentication, you need to first authenticate and wait Firebase finish the login (check…
Markus Rautopuro
  • 7,997
  • 6
  • 47
  • 60
2
votes
1 answer

Best practice for offline compatibilty of mobile web app using MySQL and PHP

I've been creating a mobile web app wich has a MySQL database back-end and some simple PHP fetch querys to get SQL datasets and put them into an array for further processing with JavaScript. Right now, everything is built in one file called…
gco
  • 1,670
  • 7
  • 24
  • 46
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
0 answers

iphone offline application runs fine from safari but not from desktop

I made a webapp that uses a manifest file to work offline. The files are "text/cache-manifest" (due to a .htaccess file, HTML5 Boiler Plate) and in the console of Google Chrome I check all files are loaded properly. When i test my application…
José Antonio
  • 187
  • 2
  • 7
2
votes
2 answers

How to dynamically serve manifest for GWT permutations

Consider the following problem. You'd like to serve an offline manifest/appcache file for your GWT project. In such a case, there are two issues: GWT generates different permutations of js files (depending on browser version). When loading the…
Laurens Rietveld
  • 958
  • 1
  • 11
  • 21
2
votes
1 answer

Firebase Javascript API on trigger.io - load script from local file

I'm using the Firebase JS API in my trigger.io app. My app must be able to start up and operate in Airplane Mode. Would it be acceptable for me to reference a local copy of the Firebase JS file, or must this always be loaded from the CDN…
AlanG
  • 43
  • 3