does reload option (or the deprecated reloadPage) in pagecontainer load method have any significance?
i have tried some experiment on this option, it seems that wether it is true or not, it does not matter because everything depends on the attribute data-dom-cache of the page
let's say you do
$.mobile.pageContainer.pagecontainer("change", url, {reload:true})
2 situations
(1) the page div of url has data-dom-cache=false
in this case, reload = true or false, it will fetch it from the server because the page is not in the dom
(2) the page div of url has data-dom-cache=true
in this case, if the page div is not in the dom, so no problem, even if reload:false, jqm will have to go to
the server to get the page
now suppose the page div is in the dom because data-dom-cache=true and it is loaded previously,
jqm will go to the server and get the page and insert it into the dom.
but the page is already in the dom, so unless the id of the page div is different on each page visit,
there will be a problem, which is the dom has two div's with the same id. jqm will display the latter page
without a problem, but all your event handlers bind to that id will have problems.
so the method reload=true will get people into trouble without people realizing it.
am i missing something here?