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

Offline/Online Database Authentication/Synchronization from jQuery Mobile

The Situation: I have a database and a web app that interact to display and update tables of scientific data. My task is to construct a mobile application that will allow users to Authenticate and Identify Themselves Offline for Tracking Purposes…
XaxD
  • 1,429
  • 14
  • 27
5
votes
2 answers

How to implement offline capable Single Page Application with Breeze.js and HTML5 local storage

I have working Single Page Application using Breeze.js for Data Access. It uses the Breeze.js to execute queries against the local cache and the data is requested only once at start up. Only the data updates are posted back on the server…
5
votes
2 answers

Where does UIWebView store HTML5 offline files?

If I have some HTML5 offline content saved from a UIWebView in an iOS app, where does it get saved? Anywhere local that my app might have access to?
jblocksom
  • 14,127
  • 5
  • 34
  • 30
4
votes
1 answer

Android Load Cache Only is not working. Show WebView offline

I'm trying to show some webpages via webview without connecting to the internet. I thought I can save the webpages in the cache and load them from the cache again if there is no connection to the internet. But it's not working. The website don't…
4
votes
2 answers

Do I need to add the files who are hosted on CDN inside in manifest file HTML 5 manifest file for offline caching?

Do I need to add the files who are hosted on CDN inside in manifest file for offline caching? This a example maniefest file CACHE MANIFEST #This is a comment CACHE index.html style.css NETWORK: search.php login.php FALLBACK: /api…
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
4
votes
1 answer

Chrome reporting html5 cache manifest mime type incorrectly

I'm trying to set up a cache manifest for a site and am having little luck. A demo page is here: http://www.matthewlehner.ca The HTML I'm using has this structure: .htaccess in the root…
4
votes
0 answers

Offline mode using graph_flutter

Hi everyone I am trying to display my data in my flutter project using Cache Provider from graphql_flutter package when a user doesn't have an internet connection but it seems to not be working, so I was wondering if there is something I am missing,…
4
votes
1 answer

mobile html5 offline caching dynamic pages

I am making a web app that is database driven and am having a hard time trying to figure out a way to cache article pages. I've thought of just doing a cfquery to loop through all the article IDs to give me a page path (e.g.…
meijiOrO
  • 411
  • 4
  • 7
  • 14
4
votes
1 answer

How to add data to IndexedDb in service worker which are coming as http response from api

I have a application in codeigniter and angular framework. All its data are coming from api's that are we have created in codeigniter . Now i am trying make this application a pwa . so far,caching of static file and manifes.json are working ,but…
4
votes
1 answer

Caching websites for offline use with SFSafariViewController

I am using the following code to display a website in my app. let webVC = SFSafariViewController(url: myUrl) present(webVC, animated: true) Now, I want to add offline reading. I know that iOS has a reading list, which apparently caches articles…
NikxDa
  • 4,137
  • 1
  • 26
  • 48
4
votes
1 answer

Setting up Android Studio to work offline

I do job in an area where there is no internet connection. I wanted to develop Android apps using Android Studio, but for the Gradle build it needs an internet connection. Is there a way in which I can completely setup Android Studio to work…
Amar
  • 41
  • 1
4
votes
3 answers

Angular 7 PWA - Font Awesome icons missing in offline mode

The issue is that in offline mode the font awesome icons are not being displayed. When in offline mode I can see that the files that have a status of failed in the Network tab are Generated in the dist folder & In the cache in the Application tab…
4
votes
1 answer

React Native WebView offline-first or local content

I am building React Native application with integrated AppCenter SDKs (analytics, crash reporting, CodePush for in-app updates). This application is only a 'wrapper' for our online web presentation. The requirement is to make it offline-first with…
4
votes
1 answer

Service worker is not working in offline mode

I have followed the angular documentation on service worker and I am able to run the project offline on the local machine. When I try to deploy to Github pages, it's working fine in online mode and I am also able to see files are fetched through…
4
votes
0 answers

How to create an offline mirror of the npm registry

Let's say we have someone traveling to an island with little to no internet connection. Instead of just lying at the beach and drinking Mojitos she wants to continue developing using the npm registry. Is there a way to create an full offline mirror…
mojoaxel
  • 1,440
  • 1
  • 14
  • 19