Partial Page Caching?
Published May 27th, 2005
Over-generalizing, there are 3 common places to add caching in a web based application:
Data Level Caching
Full Page Caching
Partial Page Caching
Data Level Caching means when you do a complex SQL Query or fetching some remote data, you keep a copy of it locally, or in something like memcached.
What perplexes me is the lack of open source tools that help with Partial Page Caching. The best ‘open’ standard for it is Edge Side Includes. But, just look at the ESI site, the last ‘news’ item was from 2002. It looks quite dead, and I cannot find any recent chatter about it anywhere. Do people just not do Partial Page Caching? Is it even worth it?
In my experience, doing data level caching can make the biggest difference, to avoid hitting databases or very slow backends, but I am surprised at the lack of open source software using partial page caching. For both of the other caching methods, there are very very good open source tools to help you do the work of caching, but for a Partial Page Cache, I haven’t seen any tools to help you. Maybe there just isn’t a very big need, since once you have the data cached, going to the next level of performance many times means caching the entire page…
Written by Paul Querna, CTO @ ScaleFT. @pquerna