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
4
votes
3 answers

What is the power efficient way to keep offline data in sync with the server without GCM?

I'm building an Android client for an Internet discussion board: the app downloads the discussions from the server and displays them using the native Android UI. It was quite easy to build the basics such as getting and displaying the content, and…
Alexander Dunaev
  • 980
  • 1
  • 15
  • 40
4
votes
2 answers

Web app to synchronize data with server

Is there an easy way to manage offline data with a web app, and synchronize with a server when there is a connection? I have been looking at Meteor, CouchDB and the likes, but still not sure what would be the least painfull way. I could of course…
danielsvane
  • 613
  • 3
  • 8
  • 18
3
votes
7 answers

Offline Map in Android using a .map file

I found some code to view a offline map using a .map file. But I can't find a way to create a .map file or to generate one for a specific city or state. Can anybody tell me how to create or generate a .map file for particular city or state? My code…
Ramesh Solanki
  • 2,961
  • 4
  • 28
  • 44
3
votes
3 answers

Application Cache manifest file errors with Windows/NTLM authentication

How are browsers implementing requests for Application Cache manifest files and is it different from how other files are requested? I ask because I'm seeing behavior I wouldn't expect when using Windows/NTLM authentication in IIS 7. The situation is…
3
votes
2 answers

HTML5 offline data storage

Im using HTML5 offline storage My Index.html page HTML5 offline code demo
coolguy
  • 7,866
  • 9
  • 45
  • 71
3
votes
3 answers

Website that runs without Internet?

allaboutrajini site tells you to stop your internet connection to enter the site.I guess it determines whether the connection is on or off with javascript or something like gmail and qoura do. But how can they store so much of flash animated content…
tarashish
  • 1,945
  • 21
  • 32
3
votes
1 answer

How to support multiple custom cache manifest for offline use, on a user by user basis?

Possible Duplicate: HTML5 Cache — Is it possible to have several distinct caches for a single URL? My app uses the concept of Projects, each Project has multiple support files (primarily image files and pdf's) that need to be made available…
David Sauvier
  • 31
  • 1
  • 3
3
votes
3 answers

Offline db app to online syncing, cross-platform, use HTML5?

For a school project for a real-world client we are being asked to create an app that can work in offline mode to store information into some sort of db, that will then sync that info with an online db when the system has an internet connection…
Joe R
  • 61
  • 1
  • 4
3
votes
1 answer

How to turn off HTML5 Offline caching

I've been using HTML5 Offline caching on my website for a while and for some reasons I am considering turning it off. To my surprise it doesn't work. This is how I've implemented HTML5 Offline caching. In my index.html I give path to the manifest…
Jayesh
  • 51,787
  • 22
  • 76
  • 99
3
votes
0 answers

How can I download tile region map(mapbox) completely, with kotlin code in android studio?

With following offline Mapbox docs, I defined tileStore, resourceOptions, offlineManager and tilesetDescriptor same as codes below. private val tileStore: TileStore by lazy {TileStore.create().also{it.setOption(TileStoreOptions .MAPBOX_ACCESS_TOKEN,…
3
votes
2 answers

HTML5 Offline Appcache Updates Not Showing In Firefox

I have an index.php file in my docroot. It produces output that starts with this: The manifest.appcache tells browsers to cache it for offline use. Again, the relevant parts: CACHE…
Trott
  • 66,479
  • 23
  • 173
  • 212
3
votes
1 answer

How to use HTML5 cache with a image site?

I am trying to cache a site for offline view with HTML5's appcache manifest. The site consists of several webpages with one image each. The problem I have is that I am trying to cache those images on different pages all together and exceed the quota…
Gerardo
  • 1,928
  • 4
  • 24
  • 34
3
votes
1 answer

How to get a hierarchical list of nodes and relations as json in Neo4j

I have a neo4j DB in which user data and relations between them would be stored, the end user will interact with this data from a mobile app (app is in Flutter, we use a nestjs neo4j connector in between). Now we have to enable offline access to…
3
votes
2 answers

How to build gradle projects completely offline?

Environment: Linux + JDK 11 + Gradle 5.0 I have several gradle projects which must build from sources without Internet connection/ For example this one git clone --depth 1 --branch 3.0.0 https://github.com/bobbylight/RSyntaxTextArea.git for that…
3
votes
1 answer

Android: NetworkBoundRsource vs RemoteMediator

What are the differences between NetworkBoundResource and RemoteMediator (Paging 3)?
Smirky
  • 187
  • 2
  • 9