www.webdeveloper.com
Results 1 to 3 of 3

Thread: Indexed DB inconsistant offline

  1. #1
    Join Date
    Nov 2013
    Posts
    12

    Indexed DB inconsistant offline

    I have a pretty complex web application that must be accessible offline so for the local storage i decided to go with the indexed db api. However there is one major problem, it seems to be very inconsistent when you run the site locally. Everything works great when accessed from the web server but not locally. Can anyone shed some light on this? Offline access is a critical requirement.

  2. #2
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,290
    it would help if you were to provide an example of what "the DB Api" is.

    What offline support do you have or does it need, does it need a web server or any other localised support features?
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

  3. #3
    Join Date
    Nov 2013
    Posts
    12
    See below Indexed DB API
    https://developer.mozilla.org/en-US/docs/IndexedDB

    The entire web app should be accessible locally via directly opening the index.html file etc. It syncs with a webservice initially and from then on can be used without a connection. then after a day of work, the application can upload the contents of the local database to our webservice.

    I believe i have found my solution in using html5's application cache however i have run into another problem because in some cases i navigate from page to page using javascript... see this post:
    http://www.webdeveloper.com/forum/sh...direct-problem

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles