S
S
slip352015-03-05 19:28:34
Yandex
slip35, 2015-03-05 19:28:34

Block "Share" slows down?

The site has a block from Yandex with social buttons.
At first everything was fine, the pages of the site loaded quickly. But now I noticed that the page opens just as quickly, but the loading icon continues to spin for a very long time. The buttons themselves also load quickly.
I checked, removed the script and the pages open in a swoop. Everything works perfectly. I go to the designer of these buttons and observe the same picture - the Yandex page with the buttons takes just as long to load, or rather the content opens quickly, but the loading icon spins for about half a minute. It turns out that the "Share" script is somehow slowing down the loading of the site.
Tried on different computers. Equally. I do not rule out that this may be my local problem.
Has anyone experienced this, is there a solution?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Bourn, 2015-05-18
@Bourn

change the script loading code to asynchronous - will solve the problem

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question