facebook

Clearing Cache Does Not Work???

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

    gkleinman
    Member

    I am trying to build an app that loads web page content in an I-Frame. It works fine until I make changes to the web page that loads into the I-Frame in that changes to the web page do not appear. It seems that the application is caching the old page and, in order to show the changes, the web page has to be saved with a new name and the HTML object changed to reflect the new page name. I’ve tried all the obvious things… clearing the cache in the MobiOne test browser, re-loading the browser, and even shutting down the MobiOne application and restarting. Whatever the last page was that loaded via the I-Frame continues to show up, regardless of whether the reference page has changed, cache cleared, etc. Is this a bug, or am I missing something in clearing the cache?

    #334400 Reply

    support-michael
    Keymaster

    @gkleinman

    > Is this a bug, or am I missing something in clearing the cache?
    I don’t fully know if it is a bug or not. I am bouncing this off our dev team as it is not something we have seen before. We have no test cases atm for offline apps with iframe since we don’t support <iframe> apps. (Does your remote site also include app caching?) This is mostly because iframes suck on most mobile devices. It is a crap shoot as to what experience you will get with your embedded content, e.g., on iphone/ipad I would stop now as mobile safari is pretty bad with iframes. See http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=3600

    To ensure I understand the issue it is:
    1) your mobione html5 app has Offline support (App cache enabled)
    2) your mobione html5 app is including an <iframe> to embed some other site

    >It works fine until I make changes to the web page that loads into the I-Frame in that changes to the web page do not appear.

    How are you making changes? For example are you modifying the html directly?
    A quick note about appcache updating. The cache will only check for changed files when the html5 manifest (e.g., cache. manifest) is modified. MobiOne Design Center will silently update the cache.manifest as a convenience when new code is generated from .mobi files.

    #334407 Reply

    support-michael
    Keymaster

    @gkleinman

    Can you share your project with us so we can replicate this issue?

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Clearing Cache Does Not Work???

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