On Dec 13, 2003, at 03:54, Alfio Puglisi wrote:
Since this seems to be a significant fraction of the
load, is there any
reason why old revision views and diffs aren't cached? They are not
going
to change more or less forever, unless rolled back or something.
They're not a significant fraction at all; a quick grep of logs
indicates about 2% of page views are diffs or old revisions. They are
allowed to be cached client-side, though that only catches a small
fraction of the small fraction.
Caching old revisions and diffs doesn't make a lot of sense on the
server either, since they're not likely to be revisited often. They'd
have to be explicitly expired.
Also I suspect the majority of old and diff views are by logged-in
wikipediholics, which our current server-side cache doesn't handle.
Stats after most of a day:
** all wikis **
Page views: 863755
Cache hits: 537668 (62%)
Cache misses: 18113 (2%)
Client-side: 100648 (12%)
Uncacheable: 207326 (24%)
-- brion vibber (brion @
pobox.com)