Interesting but all pretty straightforward. The more interesting question around caching is how to keep the cache fresh - do you just cache for short amounts of time and let them expire, or do something clever at the front end (such as tagging cache items) so that a set can be removed on batch when the database is updated. Further, what exactly is being cached? database result-sets, serialised objects or something else?