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
3
votes
1 answer

Spring Cloud Config and caching

I'm a Spring Boot beginner. I need to know if Spring Cloud Config supports a local cache system so that the central configuration, after being read by the server, is stored in a cache.
3
votes
2 answers

Testing Debugging in Offline Mode via Network

I'm developing a hybrid cordova app that should work offline as well. It just caches the data fetched from the network and re-uses the cached version if offline. Since it's a cordova app, the dev files are on my machine and the url embedded in the…
Developer
  • 924
  • 3
  • 14
  • 30
3
votes
0 answers

How to build application using GMap.Net in C# with offline data?

I have an experiment to build offline application using GMap.Net in C#. I have a problem about provider local cache have limit max 32 MB in hard disk and 22 MB in memory. What can I to do to change it?
3
votes
0 answers

Preloading videos and audio for offline use?

I need to preload a web page and it's media content (video and audio) for later offline use. The WKWebView caching works great for the web page itself, but since the audio and video were not played yet by the user, they were not stored. Is there a…
thedp
  • 8,350
  • 16
  • 53
  • 95
3
votes
1 answer

Persistent/Offline Image cache in Android

I am trying to figure out the best and the most efficient way of caching images to the disk, such that they would persist even after app is killed and re-launched in airplane mode. Consider the following use case: Open the app and get all images…
3
votes
0 answers

Does Alamofire support suspend operation queue when offline?

I used AFNetworking library before, it can cache the http request when offline, and resume when online. Is this available in Alamofire? I tried a few time, it always returns error code 1009: the internet connection appears to be offline. Is there an…
Ning
  • 148
  • 1
  • 10
3
votes
0 answers

Dynamic Content in CACHE MANIFEST

I am trying to work with CACHE MANIFEST since there is still no full support for Service Workers across browsers. I was using (SWPrecacheWebpackPlugin) and it worked well but on IOS service workers are not working. So I went back to use App Cache…
rohitpal
  • 455
  • 1
  • 6
  • 21
3
votes
2 answers

Caching error with Retrofit 2 and okhttp 3

I'm trying to cache HTTP responses from my company API but it looks like the app cannot access the cache directory: W/System.err: remove failed: ENOENT (No such file or directory)…
Bogy
  • 944
  • 14
  • 30
3
votes
2 answers

Synchronized localstorage for android WebViews with online and offline content

I have an app that allows users to play games online or cache them locally. When they convert their game to cached, I don't want them to lose progress. Prior to KitKat, you could set the localstorage dir, but I need newer phones to support this…
Cory Roy
  • 5,379
  • 2
  • 28
  • 47
3
votes
1 answer

Fallback to manifest file if support for serviceworkers is not supported

I am making an app which will support the "Add to Homescreen" features in Android Chrome and iOS Safari. Since I would like universal offline support for both of these features, but I only want to use the manifest file where I have to, in order…
3
votes
3 answers

Google Chrome Manifest fetch failed (6)

I am reworking an app I made a while ago to also work offline. When the page loads, the cache.manifest is found and it caches all the pages correctly. However, when I refresh the page when not connected, I get a ton of errors. One of the errors is…
jdepypere
  • 3,453
  • 6
  • 54
  • 84
3
votes
0 answers

memory & disk cache with JCS 1.3

having been trying to implement a memory & disk cache with JCS v1.3, got info from docs and a series of threads here in stackoverflow, but still not having any solution. My test is simply: load JCS; save an element to the cache; shutdown JCS…
3
votes
0 answers

Caching JS and CSS and other cacheable items to disk - PhantomJS

To cache JS, CSS, images files on disk, so that PhantomJS load from local disk and not make an external ResourceRequested untill cache period expires. I am interested in saving external hits. I have tried --disk-cache=true but cannot see css or js…
Yogesh Unavane
  • 265
  • 3
  • 11
3
votes
2 answers

How can we use offline caching in iOS development?

I'm building an article reading iOS app. Articles load by JSON data and app containing UITableView with images and text. I want to use offline caching to increase the performance of app. What is the best way of offline caching in this case?
Daljeet
  • 1,573
  • 2
  • 20
  • 40
3
votes
1 answer

node.js: browser image caching with correct headers

I'm developing a web application that manages a large amount of images, stores and resizes them. the request of an image is something like: domain:port/image_id/size The server takes the image_id and if there isn't yet an image of such size it…