How to insert response size and time into the page itself, at least partially?

前端 未结 3 1377
抹茶落季
抹茶落季 2020-12-02 21:41

I realize it\'s a chicken and egg problem and that it\'s not possible to accurately resolve the time it took to render a page (or the size of response) and insert that numbe

3条回答
  •  再見小時候
    2020-12-02 22:00

    Or have an asynch Javascript call that gets the response time and size from the server after its ready? Treat it like a callback to be performed after the page is done loading and the values are ready to insert.

提交回复
热议问题