Answer the question
In order to leave comments, you need to log in
Why does the site take a long time to load?
When I open my site, it mostly opens quickly, but sometimes at the bottom of the browser a spinner with the inscription "answer is expected" spins for a long time, and so it can spin for a very long time, up to several minutes, and only then the page will load.
Page size 17 kb.
Of some complex elements, perhaps a robot on SVG from Star Wars rolling around the page, but there was a problem even before its appearance.
No CMS or frameworks are used.
From scripts:
jquery-1.11.3.js
bootstrap.min.js
There is also a code for Yandex metrics and Google analytics, on which technical support kicks, claiming that the server gives the site in half a second and they have no problems. But the Yandex metric is connected as an asynchronous code and should not affect the download (as Yandex writes). In the web developer console, even after I actually wait about a minute for the page to load, the information is as follows:
jquery-1.11.3.js - 247 B - 76 ms
bootstrap.min.js - 246 B - 79 ms
analytics.js - 133 B - 141 ms
watch.js - 256 B - 39 ms
Another script from Yandex with a long name - 546 B - 40 ms
And the total page load time is indicated as 60,000 ms, that is, 1 minute.
Again, if there were problems with scripts, then the page would take a long time to load each time, but this happens periodically, for example, the first time 5 loads quickly and on the 6th it loads a couple of minutes.
I do not specify a link to the site yet, because I'm not sure what is allowed.
Does anyone have any idea why this is happening? the same in other browsers.
Answer the question
In order to leave comments, you need to log in
This is really Ya.Metrika. A minute is its timeout.
The fact that it is enabled means that it does not block page loading, but not that it does not affect it.
Do you have pictures from other servers in the body of the page?
Check all external links and demolish Yandex (do you need it?)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question