joined:Nov 22, 2004
I've always done zero caching on my site. The main reason is because the content is dymanic. There are other reasons too.
But recently, I was thinking about it and realized that even if I have plenty of spare bandwidth and server CPU, theres still no reason not to cache the basic static files.
In the attached image below, the days above the grey line are essentially un-cached.
I anxiously awaited the stats to see how things changed. Well as expected, my http requests are way down. Close to 20-25% drop in http requests. Not bad. But heres where it gets strange. NO CHANGE in daily bandwidth! That doesn't even seem possible. Technically bandwidth has gone up a hair but statistically it's basically the same as pre-cache.
These stats are generated with Awstats.
Visits - Honestly not entirely sure how this is calculated, possibly unique IPs over a given time frame
Pages - html page loads
Hits - All HTTP requests
Bandwidth - Bandwith transferred as calculated through apache access logs, which means this should only be file size, not HTTP headers
All of the average values are numbers i calculated myself.
(Looks like you can't embed images here so you'll have to click to see the spreadsheet)
I've been pondering this for 10 days now, these numbers do not make any sense to me. Do they make sense to anyone else?