简体   繁体   English

页面加载或响应需要多长时间?

[英]How long does it take the page to load or response?

I want to know how much does it take the page to load and respond to the request that was given to it, in other meaning how much does it take to give an err_time_out. 我想知道页面加载并响应给它的请求要花多少钱,换句话说,给出err_time_out需要花多少钱。 I have a page that takes a little bit time to respond and i want to modify the duration of the page to respond without giving an err_time_out. 我有一个页面需要一点时间来响应,并且我想修改页面的持续时间以做出响应而不给出err_time_out。 And if i did it with ajax does it will last longer ? 如果我用ajax做,它会持续更长的时间吗?

Use Chrome DevTools. 使用Chrome DevTools。

Press F12 at chrome and go network, after you submit a request, you can see your request, response there and the detail. 在chrome上按F12键进入网络,提交请求后,您可以看到您的请求,响应和详细信息。

Therefore you can see how much time take of your request and tune it. 因此,您可以看到您的请求花费了多少时间并进行了调整。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM