I've snuck some quick statistics calls into Article.php to count the
relative frequency of cache hits in page views.
In a few minutes on en:
** en **
Page views: 5420
Cache hits: 3322 (61%)
Cache misses: 98 (1%)
Client-side: 522 (9%)
Uncacheable: 1478 (27%)
Not half bad. Cache hits here are where it's able to pull a complete
pre-rendered page from the file cache and send it out. Cache misses are
where it can do caching, but has to (re)render the page this time.
Client-side caching is where the wiki is able to send a '304 Not
modified' response and the client uses a copy it's previously cached
locally. Uncacheable hits are old revision views, diffs, redirects, and
views by logged-in users that aren't client-side cached.
These figures won't include anything but page views (special pages,
editing, logins, etc).
I'll let it run and see if the ratios hold up during the day and with
the various languages.
-- brion vibber (brion @
pobox.com)