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

HTML5 Offline feature doesn't work on Heroku server though It runs perfectly on dev machine

Here is the related source code: offline = Rack::Offline.configure :cache_interval => 120 do Rails.application.assets.each_logical_path.select{|e| not e.include? ".pdf"}. each {|e| cache "assets/" + e} network "/" end match…
Jahan Zinedine
  • 14,616
  • 5
  • 46
  • 70
0
votes
0 answers

HTML5 offline cache an attachment download page?

Greeting fellows! I have been using HTML5 application cache to create an offline web app recently. Everything works great on Chrome until I am implementing the "offline attachment download" function. Basically I have cached a servlet into the…
0
votes
1 answer

How to check if the Offline Manifest is loaded on mobile devices

This is my first time coding for HTML5 with offline capabilities using MVC 3. Although I have a problem where mobile devices doesn't seem to cache and fails to load from cache when offline. I have my header setup:
Devmonster
  • 699
  • 1
  • 10
  • 28
0
votes
1 answer

Firefox. Memory/Offline cache device

I develop a smartgwt app. It should work in an offline mode. But I have a problem. There is an app.nocache.js file, that doesn't want to be fetched from the Offline cache device of Firefox (see "about:cache" in Firefox). It is placed in the browser…
0
votes
1 answer

Should I store data in sqlite in case user is offline?

I have a simple android app that uses jSoup to get data from a URL. I have a dirty solution with TOAST giving me a warning of on or offline. I would like to be able to have the data from the last time the user queried for new information stored…
jasonflaherty
  • 1,924
  • 7
  • 40
  • 82
0
votes
1 answer

WAMP Data Loss Issues

My company has a product that allows our clients to perform tasks offline and then sync with the online version. We have ran into a problem that has grown more and more frequent. The problem is two fold: During the syncing process, it appears…
Andrew Rhyne
  • 5,060
  • 4
  • 28
  • 41
0
votes
1 answer

Serialization of Application Object

At first I have strong Java knowledege, but however just started with Android. My Android app is downloading some fairly complex data (texts, dates, images) which I am saving in a custom object. The data need to be refresh from time to time. However…
Pierre-Antoine
  • 7,939
  • 6
  • 28
  • 36
0
votes
1 answer

Database for HTML5 offline application

How to use a JSON string(pretty large) as a database for HTML5 I know we can use localStorage.setItem('key',value) for storing a specific value.Im having a JSON string that contains 200 to 300…
coolguy
  • 7,866
  • 9
  • 45
  • 71
0
votes
1 answer

HTML5 cache downloads root every time

I am playing with HTML5 app cache and right from the beginning I ran into issues:/ I am trying to have simple offline fallback for my page so that there would be nice styled page instead of classic offline error. According to few resources I have…
simekadam
  • 7,334
  • 11
  • 56
  • 79
0
votes
1 answer

HTML5 AppCache - Request more space in Firefox

Is it possible to ask a Firefox (version 15) user for more space (> 5MB) for the AppCache? We're planning to develop a WebApp for a customer with users who are only using Firefox 15 (or IE8) and the whole product database (800 products with some…
0
votes
2 answers

authenticate user on offline mode

We have a app which works offline as the data is stored locally using local storage and HTML5 offline capabilities. We want a way to authenticate the user when the user tries to launch the app offline (from a security purpose if ipad gets…
dazzle
  • 1,346
  • 2
  • 17
  • 29
0
votes
1 answer

How to make website with google map available offline

I have created a webpage http://babysoftblog.co.cc/shahma/kmz/map_sexten.html in html5 with offline cache.its showing google map using a kmz file.the page is working fine online..but its not showing google map when page is o[en offline. Am i doing…
user1482852
  • 94
  • 4
  • 11
0
votes
1 answer

self cache website for offline html5

I have built a html5 gallery which does work offine but what I need help with is getting the app to detect if the user is online and if so will update the mainifest when the user opens up the app.
Zara_tj
  • 95
  • 1
  • 3
  • 8
0
votes
1 answer

How to make folder urls offline with HTML5?

My web application uses folder urls only (with mvc routes). I am wondering how I can cache some of these urls, and prticularly the site root. CACHE MANIFEST / . /myfolder /myfolder/ myfolder Thanks for the help.
Harps
  • 640
  • 8
  • 17
0
votes
1 answer

HTML5 browsers hanging on to cached manifest file

I'm using HTML5 appcache and mostly it's working well. However, sometimes, users' browsers (Chrome or Safari) will hold onto the cached manifest file even though I'm positive that the server has a brand new manifest file with a unique version…
Andy
  • 2,709
  • 5
  • 37
  • 64