spring - Java Web如何获取页面加载时间并显示
迷茫
迷茫 2017-04-18 10:11:16
0
2
779
迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(2)
Peter_Zhu

In fact, this is the work done by the front end, not the work done by the back end

The backend can count up to the time from client request to server response, but the backend cannot count the resources statically referenced by the page and the execution time of some front-end code business logic

On the contrary, the front-end can count the processing time of the server and the time of the front-end processing its own business

Ty80

At the beginning of page rendering, get the current time from js, and then after window.onload, get the current time and compare it? (I guess...)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!