A
A
Alexander Prokhorov2012-10-16 23:37:49
Habr
Alexander Prokhorov, 2012-10-16 23:37:49

Habrahabr counter under habra effect - 504 Gateway Time-out (/viewcount/post/N/)?

Am I the only unlucky one, or does everyone else also have problems loading topics because of a script supposedly for counting views, which is located in the middle of the page and crashes with 504 Gateway Time-out?
Actually, this disgrace is located immediately after the body of the topic:

<script type="text/javascript" src="http://habrahabr.ru/viewcount/post/N/"></script>
where N is the topic number.
It’s not even so much 504 that annoys me (well, you never know what got sick there), but the location of the call to the counter script in the middle of the page. Comrades, don't do that! Executing a script stops page rendering even if the script is not hanging. Counters should be at the bottom, ideally with a defer attribute.
The script was cut out, now the topics will have one less views. All statistics are down the drain. :(

Answer the question

In order to leave comments, you need to log in

4 answer(s)
F
fStrange, 2012-10-16
@fStrange

Yep, it looks like it. For probably a week now I have noticed that sometimes the page is rendered until the end of the post and that's it.

E
Eugene, 2012-10-17
@Methos

In adblock filter and everything is tip-top:
http://habrahabr.ru/viewcount/*

K
Kiborg777, 2012-10-17
@Kiborg777

Can't install AdBlock on my Amazon Kindle Fire (:

V
vsespb, 2012-10-17
@vsespb

Yes more than a week

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question