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

Azure Offline Sync - Uncaught Exception

I am using Xamarin Forms and Azure in an attempt to implement offline sync in my mobile app to store a list of Machine objects. In my class that handles offline sync, I have a function called Initialize(), for setting up a local database in my phone…
Barney Chambers
  • 2,720
  • 6
  • 42
  • 78
2
votes
1 answer

app-indexeddb-mirror with Polymerfire

I built a simple page that has multiple tabs. Each tab loads a feed (collection/list) of articles from Firebase and renders cards on the page. Everything works as I wanted until I tried to persist the visited feeds into indexeddb with…
2
votes
0 answers

AngularJS inside MVC, preloading static HTML or MVC partial views to use @templateCache to make app offline?

We have an MVC project with AngularJS sitting on top of it. Question - is possible to preload static HTML files (partial templates) into templateUrl property for Angular's custom components or directives. If it is possible, can I use Angular's…
2
votes
2 answers

Offline Map in iOS

I have a big need to do an offline map for my app, as it is made mostly for Thailand, where internet connection is often hard to come by. I am using OpenStreetMap right now for my MKTileOverlay but am having issues implementing it for offline use. …
user717452
  • 33
  • 14
  • 73
  • 149
2
votes
0 answers

Uncaught exception in Firebase runloop (3.0.0). Please report to support@firebase.com

I have a problem with offline capabilities. I turn on offline feature in my project with firebase. Everything is fine until i close app completely and reopen it. It made crash. This is log 05-23 07:44:58.407 7286-7328/com.iantsu.projectm…
2
votes
1 answer

Progressive web applications and CMS-driven websites

I've been intrigued by offline-first, progressive web applications from talks by developers like Addy Osmani and Jake Archibald. However, when I watch these it always seems to be in the context of a web application where someone would use an SPA to…
2
votes
0 answers

IndexedDB vs SQlite for HTML5 Cordova Hybrid Mobile Application

We are developing a hybrid mobile(ios/android) app(AngularJS,HTML5,Ionic) for an already existing cloud-based CRM. We want to have extensive offline data management capabilities which might include storing of large amount of data locally on the app…
newbie
  • 663
  • 2
  • 6
  • 19
2
votes
1 answer

How to display the cached version first and check the etag/modified-since later?

With caching headers I can either make the client not check online for updates for a certain period of time, and/or check for etags every time. What I do not know is whether I can do both: use the offline version first, but meanwhile in the…
Luc
  • 5,339
  • 2
  • 48
  • 48
2
votes
3 answers

Cache non-SSL request with Service Worker

Since Service Worker registration requires website to be served over HTTPS, Google Chrome throws an error when I try to add HTTP resource to Cache: Mixed Content: The page at 'https://example.com/sw.js' was loaded over HTTPS, but requested an…
Oleg
  • 22,300
  • 9
  • 68
  • 84
2
votes
1 answer

Firebase online to Android offline datastore

I am building a mobile app to allow for real time messaging, befriending users, creating groups to both chat and share images with, as well as creating events where users can invite one another. I have chosen to use Firebase as the online back-end.…
Sauron
  • 6,399
  • 14
  • 71
  • 136
2
votes
1 answer

Best way to cache client-side data across iron-router routes in Meteor

I'm building a Cordova app that presents CRUD operations around a list of Tickets. The home page presents the list and you can click on any list item for more details about a specific Ticket. The home page is reached at / and presents a tickets…
2
votes
0 answers

iframe application cache not served to main page

In my web app I'm using multiple application cache resources: one manifest for the main page and 3 manifests for 3 different iframes - for content which is often updated. My problem is : from the main page I call a html file which is in appcache of…
charmosz
  • 133
  • 1
  • 1
  • 6
2
votes
0 answers

MySQL DB Offline/Online with Java Hibernate

I have to make project using Java with Hibernate and MySQL database. Server with Database is in main office. Company has several buildings and magazines across country and they want to operate on that database. Some of this magazines very often…
Levvy
  • 1,100
  • 1
  • 10
  • 21
2
votes
0 answers

Ionic offline sync with own SQL server

I am making an app with Ionic framework. I must work offline and when connection comes back, sync with server data. I found a lot of solutions including pouchDB (CouchDB), or hosted solutions like Firebase, Parse, etc. But my requirements are: 1.…
2
votes
1 answer

Improving mobile aps client server communication efficiency and data availability in offline mode

My question is about how to store data which once was received online and still can be processed after the mobile device got offline and/or was restarted. I'm using AngularJS with Ionic (PhoneGap) for building apps. But my question is not explicitly…