[Answer]-Is my Django profiling middleware wrong?

1👍

Time spent waiting for the initial response, also known as the Time To First Byte. This time captures the latency of a round trip to the server in addition to the time spent waiting for the server to deliver the response.

https://developer.chrome.com/devtools/docs/network

Your middleware times just server side.

Leave a comment