TTFB attribute Application Center Test TTFB attribute Gets the number of milliseconds spent before the first byte of the response is received. lTime = Response.TTFB Returns lTime As Long: First byte response time in milliseconds.
TTFB:httpwatch的timechart中的一列参数。 TTFB (Time To First Byte) is the time between when the initial network request is initiated and the first byte received from the server, which includes the TCP connection time, the time of sending the HTTP request, and the time to get the first byte of the response message.
1. TTFB (Time To First Byte) is the time from the initial network request to the first byte received from the server, which includes the TCP connection time, the time to send the HTTP request, and the time to get the first byte of the response message. Note: The more page redirects, the higher the TTFB, so reduce redirects TTFB optimization methods include:
1. Reduce DNS queries
2. Use a CDN
3. Flush early
4. Add cycle heads
Personal advice: don't pay too much attention to these indicators. Analyzing these metrics for a website that has no value (no traffic, no popularity, no money) is unintentional
This one is using dnspod and 360 website guard, and found that the website has been opening very slowly recently, which has not happened before
Then, looking for the reason, I found that most of them are static resources, such as images, JS, etc., TTFB time is too long,
These static resources are not processed by the server, so it shouldn't be a problem with my server
Because of the use of 360 website guard, many acceleration functions are turned on, but the faster it gets, the slower it gets.
In order to find the reason, you can only modify the local hosts file to directly point the domain name to the real IP of the server
I found that the website was opened almost in seconds, and the cache was clear, and it was found that the first load was only about 3 seconds, and it was not ridiculously slow.
Personally, I guess it may be due to the recent update or upgrade of the project team of the 360 website guard, and it is estimated that there are some major operations on the 360 side.
|