I ran a trace from a handheld device to a server in a data center. In short, the trace reads:
- ClientConnected: 12:44:55
- ServerConnected: 12:50:39
- ServerBeginResponse: 12:50:51
Does this mean that the Server spent 12 seconds data processing before responding?
2 Answers, 1 is accepted
answered on 24 Jan 2022, 10:48 AM
Yes, the time between ServerGotRequest and ServerBeginResponse can be interpreted as the time needed for the server to complete its internal operations (such as generating UI, data queries, and other server-side processes).
Server Response Time (SRT) is the amount of time between when a web client makes a request and the server responds to that request. SRT is measured in a unit known as TTFB (Time to First Byte). TTFB is the time it takes for the browser to receive the first byte in response to the browser request. It is measured in milliseconds. You should reduce your server response time under 200ms (milliseconds). There are multiple strategies to improve your server:
Choose Your Web Server Carefully Utilize a Content Delivery Network (CDN) Implementing server-side caching Optimize Your Database Minify and combining external files
There are various tools to test and improve server response time, You can use the following:
GTmetrix KeyCDN Pingdom Google Page Speed Insights Web Page Test