I have a fairly complex site setup using Fieldframe and Matrix fields for 36 different “items” in a weblog. Each item is loaded with the same template.
When I load any of the item pages with no caching, it’s taking 1.5 seconds and 175 queries to load. This is mostly due to dynamically pulling in information about each item from related weblogs. Way too many queries. I haven’t been successful getting the time down without caching.
When I turn on template caching, the page loads are .25 seconds with around 40 queries. Still a high query count I think, but the page load is nearly instantaneous.
So this is working… well.
Problem is that whenever I update one of the items (new description, typo, etc.), ALL 36 page caches get refreshed, not just the single item page cache. Is there a way to ONLY refresh the relevant item page cache? It makes no sense to flush the caches when nothing has changed on 35 of the pages.