Microsoft Edge requesting new page on back/forward button

丶灬走出姿态 提交于 2021-02-09 09:21:05

问题


The latest version of the Microsoft Edge browser (41.162...) requests a new page when the back and forward buttons are clicked. I've tested multiple browsers on multiple platforms and only Edge exhibits this behavior.

Here's a test page that displays the timestamp the page was created. Click the "Next Page" link and then use the back and forward buttons. Notice that the timestamp is different each time for Edge but not other browsers.

The previous version of Edge did not request a new page each time.


回答1:


I don't think StackOverflow is the best place to post this as there won't be an easy workaround for this beside circumventing most of the browser internals via your own UI & cacheing and that can be broken by the user clicking the back button that they're accustomed to. I recommend filing a bug on Edge here: http://bugs.microsoftedge.com to find out if it's by design or not and potentially get it fixed. Additionally, please make sure to state why this is impactful to your site and more importantly to your end users.

One reason I can see fetching the URL again is that the content will be fresh because not every user wants to go back to "stale" content they just want to go back to that page, for example - and doing a new navigate ensures a clean slate.



来源:https://stackoverflow.com/questions/48198771/microsoft-edge-requesting-new-page-on-back-forward-button

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!