This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Implement data-cache=false attribute on pages. #1554
Closed
Description
The following live binding should enforce that a page with data-cache=false attribute will always be re-requested via ajax, rather than reusing a local page in the DOM:
$( ":jqmData(role='page'):jqmData(cache='false')" ).live( "pagehide", function(){ $(this).remove(); });
This should also be added as a page plugin option called "cache".