iframe loading are made through location.replace, so that the history of the browser is not affected
merged
writing a precache test function