K
K
krutovav2017-09-19 13:38:26
PHP
krutovav, 2017-09-19 13:38:26

Find out if there is an artificial delay resulting in a Waiting (TTFB) greater than 3 seconds?

During the development of the site https://telehaus.com.ua/ , it was noticed that due to the large amount of dynamic data, the page was drawing content for a long time. When scrolling, it was very noticeable. After remarking to the developer, he introduced a delay. It began to look like this - after clicking on the link, nothing happened for several seconds, then a page with ready-made content was opened. But after another large-scale revision, the functionality that led to a large dynamic load was disabled, the site was transferred to a new server, but it began to slow down (or it was before) when opening pages for more than 3 seconds dl4.joxi.net/drive/2017 /09/19/0013/2169/899193/93/...on all pages (even without images). The developer who introduced the delay is lost and we need to find out if the current delay is that artificial delay or not the reason. Now the caching plugin is installed and now the site "flies" except for pages that are not cached - these are filtering results and search query results. Who can advise or find the reason for the delay?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Egor Zhivagin, 2017-09-19
@Krasnodar_etc

It's just outwardly hard to say, but it seems that the problem is not in this delay. Because the delay. I understand that it delayed the opening of the page, but should not have delayed the download itself.
You have a rather small amount of dynamic data) And some kind of total scribe. The dev tools tells me that this page weighs 40 meters and takes 3-20 seconds to load. And there is so little data there that, in theory, it is necessary to give less than a second. Pictures 100x500 weighing 800 kb are trash. If I were your user, I would not have enough traffic to do anything))
You need to look at why such a hell on the back rather than put / remove artificial delays

S
Stalker_RED, 2017-09-19
@Stalker_RED

Profiling

N
Nurlan, 2017-09-19
@daager

It might be an internet connection issue. My main one gave up quite cheerfully. TTFB 151ms + - for the page, but for pictures it can be 350+. You should optimize the page, then rendering will be more fun. For example, why do you need to load 16 (!) font files. 16 Carl! The server can be more powerful, but the hdd is slow. If you're using Nginx, it's easy to set up and store static in memory to serve it faster.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question