a bit of am anomaly?

Moderator: kcleung

Post Reply
aldona
active poster
Posts: 385
Joined: Mon Apr 16, 2007 11:09 pm
notabot: 42
notabot2: Human
Location: Melbourne, Australia

a bit of am anomaly?

Post by aldona »

So here I am at work, with a few minutes to kill until my next patient comes in...

I look up the work page of the last Schubert song that I uploaded this morning, just out of curiosity to see how many people have looked at it.

The message says "This page has been accessed 4 times."

Then I log in, with the intention of possibly posting something on the forum, and immediately return to the same work page (i.e. less than 30sec since I last looked).

It now says "This page has been accessed 23 times."

Have suspected for a while now that the numbers are different depending on whether I'm looking at them in "logged in" mode or not...but this is the first time I've actually tested it.

Probably of no consequence, but just something interesting.

aldona
“all great composers wrote music that could be described as ‘heavenly’; but others have to take you there. In Schubert’s music you hear the very first notes, and you know that you’re there already.” - Steven Isserlis
imslp
Site Admin
Posts: 1642
Joined: Thu Jan 01, 1970 12:00 am

Post by imslp »

Ah, this is the expected behaviour. :) Basically it goes like this:

Non-logged in users are sent a cached version of the page, which expires in 3 days after the last edit.

Logged in users have pages formed half from scratch (and this half includes the header, footer, and sidebar), since they cannot be sent a cached version of the page: each page has your login name and personalized stuff on it. This is why the access numbers are correct only when you log in.

By the way, access numbers are *only* updated when a logged in user visits the page (due to caching mentioned above), so they are good pretty much only for comparisons between pages.

Hope this helps :)
Post Reply