-
Notifications
You must be signed in to change notification settings - Fork 2.4k
page set to domCache: true has no effect after pagecreate event #4052
Comments
Mind posting a test page for us to review? Template: http://jsbin.com/axicer/edit |
i've setup a test here bit.ly/IocBDO There's two buttons on the entry page:
You can check by analysing the DOM that page2 is not cached in the DOM after we return to the first page. (I think the page should be cached if domCache is set to true anytime before pagechange.)
It then calls Page3 is cached in the DOM when we return to the first page as the domCache is set to true at pagebeforecreate. |
I can confirm that I'm having the problem too. Is there a way to programmatically tell a page to not be cached? Sort of a |
@gabrielschulhof - Is this a feature we can offer if we use |
I added your request on the wiki page (https://github.com/jquery/jquery-mobile/wiki/Feature-Requests) in the "core" section. Closing this ticket as a feature request. |
individual page set to
domCache: true
has no effect afterpagecreate
event when usingpageContainerElement.page({ domCache: true })
Because binding to
pagehide.remove
is created onpagecreate
event; any changes to the setting after is ignored.Not sure if this is the expected behaviour.. It would be good if
domCache
setting of a page can be updated anytime before the page is removed.The text was updated successfully, but these errors were encountered: