javascript - Firefox/IE cached page on startup only shows AJAX content -
i have webapp uses ajax calls load html snippets in various places. note webapp simulates regular navigation use of history.pushstate function (not sure has problem still mention it).
problem: whenever exit browser tab displaying webapp , restart again, browser not trigger regular http request load whole page. uses cache mechanism load response of latest http request. in case, if last request happens ajax call, browser load html snippet without css, js nor rest of html. note problem appears in firefox. in ie, whole page can reloaded if accept execution of scripts when being prompted. chrome works fine loads entire page.
question: normal behavior , how can prevent (i.e. make work in chrome)?
thanks helping!
Comments
Post a Comment