I think caching structural chunks and templates is somewhat simple, however, how might one deal with plugins on a site? A plugin, used in many blogging and cms packages, loosely defined as some operation that calls on the database to compose a list of 10 most recent articles, etc.
In many cms packages it is becoming more common to drop these plugins into place.
(I'm sticking to a sort of lowest common denominator scenario here...php4, mysql4, general user base that doesn't have access to altering server/php settings, etc).
And so I wonder, is/are there an acceptable number of queries to the database that are allowable even if the main components of a site are cached? I think the answer is 'it's all relative', but I'm tossing this out there anyways.
Apparently, from what I've read, MySQL4 is not very good with query caching. If you update the database is clears out the cache. I guess that's not really so bad actually but it could seriously degrade a busy site (with users udpating content).
Is a site that is truy 100% cached possible? Bad question...
In a broader sense, how might a dev realistically strategize a caching schema? All I can see are tutorials and reasons for doing so, but nothing that says 'this is ok and this is not ok' sort of thing.
Opens the door...