- This topic has 2 replies, 2 voices, and was last updated 11 years, 10 months ago by support-michael.
-
AuthorPosts
-
gkleinmanMemberI 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?
support-michaelKeymaster> 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=3600To 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.
support-michaelKeymasterCan you share your project with us so we can replicate this issue?
-
AuthorPosts