I
I
Ilya Pankov2015-12-05 22:00:20
Project management
Ilya Pankov, 2015-12-05 22:00:20

Do traffic counters slow down website loading?

Hello! Faced with a trivial task.
The SEO master asks to put counters on the site: Metrika, Analytics, LiveInternet, OpenStas.
I put it, but the question arose - do the counters affect the page load?
I don't want to lose my download speed (0.3 seconds) due to the vagaries of the seo-shnik
Help, please. Share your experience, if it slows down the download, then how to fix this problem most quickly?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Alexey Lebedev, 2015-12-05
@Pancov

Set it asynchronously.

N
Neron, 2015-12-06
Lordov @Nekto_Habr

[start comment from lamer nub]
learn.javascript.ru/external-script
use

<script src="async.js" async></script>
<script src="defer.js" defer></script>

podovan
[/end comment from lamer nub]

P
Pavel, 2015-12-05
@mrusklon

why put everything at once? 1-2 is quite enough, but in essence, these are scripts, even if for 0.00000001 sec it still slows down.

S
Sergey Goryachev, 2015-12-05
@webirus

Load counters after page load. They are still at the bottom.

T
Tashrex, 2015-12-05
@Tashrex

nothing will stop you from deleting them if they critically degrade the speed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question