Chrome displays ajax response when pressing back button

后端 未结 8 2127
闹比i
闹比i 2020-12-07 22:05

I\'ve come across a problem that if I use jQuery\'s Get method to get some content, if I click back, instead of it actually going back one page in the history, it instead sh

8条回答
  •  北海茫月
    2020-12-07 23:07

    Make sure your AJAX requests use a different URL from the full HTML documents. Chrome caches the most recent request even if it is just a partial.

    https://code.google.com/p/chromium/issues/detail?id=108425

提交回复
热议问题