為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox refreshing more often on back button with v97

  • 4 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 equilter

more options

Hitting the back button a few times used to load the cached version of the pages, instead of reloading the pages. However with v97, Firefox is much more aggressive about reloading and refreshing when you hit the back button to go back a few pages.

I've tried setting browser.cache.check_doc_frequency to 2 (Never check for a new version - always load the page from cache), but this has the undesirable side effect that if you go click a link in the browser to a page that was cached, the cached content comes up, instead of the latest.

I've also tried settings with browser.sessionhistory.max_total_viewers, but that doesn't seem to work either.

Please advise.

Hitting the back button a few times used to load the cached version of the pages, instead of reloading the pages. However with v97, Firefox is much more aggressive about reloading and refreshing when you hit the back button to go back a few pages. I've tried setting browser.cache.check_doc_frequency to 2 (Never check for a new version - always load the page from cache), but this has the undesirable side effect that if you go click a link in the browser to a page that was cached, the cached content comes up, instead of the latest. I've also tried settings with browser.sessionhistory.max_total_viewers, but that doesn't seem to work either. Please advise.

所有回覆 (4)

more options

That's correct. Since 97, hitting the back button invokes the onload event. I don't think we can do anything about it.

more options

Thank you for your reply. That's really too bad. This presents significant problems when editing content, and then going back, in that the content then gets revered to a previous state.

Is there any possibility of a variable that could be adjusted to avoid the 'onload event' with the back button?

more options

For now you can turn off Fission (fission.autostart=false in about:config) and restart the browser. But it won't work in the near future.

more options

Thanks for the tip. That's also too bad that this fix won't work for very long. Surely there must be another way?