The DOM cache management notes in Beta 2 deletes AJAX inserted DOM elements ... "
whenever a page is loaded in via Ajax, it is flagged for removal from the DOM once you navigate away to another page (technically, on pagehide). If you return to a deleted page, the browser may be able to retrieve the file from it’s cache, or it will re-request it from the sever if needed."
So when I insert elements I find that the inserted elements are deleted when I navigate away from the page as intended. But I can't navigate back to that page: the browser does not seem to be able to retrieve the file or request it from the server again.
When I turn off the cache management for the page data-dom-cache="true", I can navigate backward to the previous page, but it causes DOM bloating.
Is there a way to clear out the cache only when one navigates backwards from the page (or to the home page), but leave the elements in the DOM cache when navigating forwards?
Sholt