what happend when click mutilple links before browser display the requested page

爷,独闯天下 提交于 2019-12-25 03:14:10

问题


say I open a browser window, click weather link , but the network is slow, before the server send me back anything, I click another sport link.

which page will I get eventually?

since the second httprequest may arrive the server earlier than the first one. and server will may send back the response for the second httprequest first, so my browser will display weather page instead of sport page?

since there are two response, how does browser handle them? is that possible browser dispay weather page and later dispaly sport page automatically?


回答1:


See Question regarding browser behavior when a response is sent from a server for a similar question which was answered.



来源:https://stackoverflow.com/questions/4822881/what-happend-when-click-mutilple-links-before-browser-display-the-requested-page

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