facebook

cache #2 question

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #319454 Reply

    SonamGyato
    Member

    On the device, if I go into airplane mode and then clear safari cache –
    should the app be still working?

    my understanding is that it should – the app cache is not cleared.

    but with the mobi app – it displays the splash screen (so that’s
    still there) and then get a message
    ‘app is not connected to the internet’.

    #319457

    SonamGyato
    Member

    can i get an answer to this:

    app downloaded ok.

    go to airplane-mode

    iphone safari clear cache.

    re-start app.

    i see the splash screen and the not-connected-to-internet
    error message.

    is this normal.

    does clearing the cache also clear the html5 web apps
    cached on the device.

    #319468

    support-michael
    Keymaster

    @everest

    Long holiday weekend here in the states.

    1) Clearing mobile safari cache will clear the appcache.

    2) The homescreen icon and startup image have nothing to do with the appcache. They are managed by iOS and are cached outside of the appcache. What iOS does when the user clicks on homescreen webclip is display the splashscreen while it spins up mobile safari and loads the webclip’s URL.

    #319471

    SonamGyato
    Member

    ok – so in safari clearing cacche also clears the app cache.

    problem solved.

    #319526

    support-michael
    Keymaster

    UPDATE – PLEASE READ

    After a few days trying to replicate this problem we finally arrived at a fail state. We are able to periodically have our iOS4 devices get in a state where the app caching and offline support completely fails. Other non-MobiOne webapps have this same problem so this is an iOS4 issue (See Financial Times iOS WebApp Troubleshoot Guide)

    We are monitoring this problem and expect it to be resolved in iOS5.

    How app cache should work in MobiOne webapp that is configured for offline support:
    1) On initial access of webapp URL MobiOne will present an “Updating” dialog and then download and cache all contents of the
    2) save webapp to homescreen
    3) turn on airplane mode (device is offline)
    4) launch webapp from homescreen
    – webapp spins up and functions as if it were online

    How to reset device for proper app caching and offline operation:
    1) go to Settings>Mobile Safari, select Clear Cache
    2) restart iOS device

    Initially we had difficulty replicating the problem because we frequently reboot our test devices to have a clean state for testing.

    Here is a discussion on this issue by others:
    http://stackoverflow.com/questions/6270175/ios-did-apple-disable-html5-offline-capability-for-web-apps-saved-to-the-home-sc

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: cache #2 question

You must be logged in to post in the forum log in