Page 1 of 2

View Counts

Posted: Wed Jul 18, 2012 6:52 am
by RikiNutcase
Did something happen to the server or did the view counts just disappeared all of a sudden? :shock:

Re: View Counts

Posted: Wed Jul 18, 2012 10:25 am
by Misogi
It seems that they disappeared, after HSDxD. I don't think it's a coincidence, though, it must be a bug.

Re: View Counts

Posted: Wed Jul 18, 2012 12:12 pm
by rpapo
Misogi wrote:It seems that they disappeared, after HSDxD. I don't think it's a coincidence, though, it must be a bug.
The Big Boss (thelastguardian) did an overhaul on the back end of the web server last weekend, and the counts disappeared after that. Several of us have PM'd him on the matter, but we (or at least I) have not heard anything back yet.

Re: View Counts

Posted: Wed Jul 18, 2012 4:16 pm
by RikiNutcase
I see....oh well as long it isn't gone for good im ok LOL... :mrgreen: can't seem to find motivation when not seeing the counts if ya know what i mean hahaha

Re: View Counts

Posted: Wed Jul 18, 2012 4:21 pm
by rpapo
I like getting a general idea of how many people are following the story I'm working on too...

Re: View Counts

Posted: Thu Jul 19, 2012 3:22 am
by stellarroze
I got a reply back...

He said he turned it off because it interferes with page caching.

Re: View Counts

Posted: Thu Jul 19, 2012 3:38 am
by rpapo
stellarroze wrote:I got a reply back...

He said he turned it off because it interferes with page caching.
To a point, I can believe that, since the changing number makes the page different each time you pull it up, which defeats caching. There are probably ways to avoid that, though.

I am not a web programmer, rather a native C/C++ developer, so I am not an expert on this particular topic.

Re: View Counts

Posted: Thu Jul 19, 2012 4:31 am
by RikiNutcase
awww...thats depressing Lol

Re: View Counts

Posted: Fri Jul 27, 2012 1:07 am
by arczyx
So is this change temporary or permanent?

I hope it's just temporary, the view counts useful for many things after all.

Re: View Counts

Posted: Fri Jul 27, 2012 1:33 am
by larethian
rpapo wrote:
stellarroze wrote:I got a reply back...

He said he turned it off because it interferes with page caching.
To a point, I can believe that, since the changing number makes the page different each time you pull it up, which defeats caching. There are probably ways to avoid that, though.

I am not a web programmer, rather a native C/C++ developer, so I am not an expert on this particular topic.
Unless there are changes to the mediawiki SW in the new version, the pages served to anons were cached versions so the page view will not change for them, so I'm not sure how it interferes. I can't remember whether the previous count was still stored in the DB, but iirc, once disabled, the new views since then will not tracked.

Re: View Counts

Posted: Fri Jul 27, 2012 2:03 am
by rpapo
larethian wrote:Unless there are changes to the mediawiki SW in the new version, the pages served to anons were cached versions so the page view will not change for them, so I'm not sure how it interferes. I can't remember whether the previous count was still stored in the DB, but iirc, once disabled, the new views since then will not tracked.
That's a shame. Notice, though, that The Other Wiki (to borrow the term they use at tvtropes) does not provide hit counts either.

Nonetheless, there are three useful stats from where I sit: (1) Total hits, (2) Hits since the last update to the page, and (3) the number of unique clients that have accessed the page (apart from bots, if they are allowed into the wiki at all). Of course, everything has a cost in performance. :(

Re: View Counts

Posted: Fri Aug 03, 2012 8:02 pm
by arczyx
The view count is up again. Thank goodness :D

Re: View Counts

Posted: Fri Aug 03, 2012 8:14 pm
by larethian
from TLG:
View count places a heavy strain on the database. Most mediawiki sites, after they reach a certain size, find the counter detrimental to the performance. Also, if Baka-Tsuki move onto more advance implementation of caching (such as Squid used by wikipedia), the view counter must be disabled.

In any case, I've changed the view counter to only approximate the correct page view. As it is an approximation, it is not entirely accurate.

Finally, if anyone feels that their page needs a view counter, he or she is welcome to add a third party view counter (such as Google Analysis) to their respective page.

Re: View Counts

Posted: Sat Aug 04, 2012 7:56 am
by Misogi
I think it's better than nothing.

Thanks for the information.

Re: View Counts

Posted: Sat Aug 04, 2012 7:21 pm
by arczyx
Well, if that's the case we just have to agree whatever the big boss decided