Closed (fixed)
Project:
Cache Actions
Version:
6.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jun 2011 at 08:33 UTC
Updated:
5 Jul 2011 at 04:02 UTC
Does block cache get cleared when a View Display cached is cleared by Cache Actions?
I'm currently using the [blockcache_alter](http://drupal.org/project/blockcache_alter) module which provides more fine grained control of block caching, although I'm not sure this makes any difference, since Views is aware of these options.
Thanks!
Comments
Comment #1
fabsor commentedHi!
The default behaviour of Drupal core is to flush the block cache when content is updated, created or deleted. This means all of the block cache is always invalidated. I haven't had a look at exactly what the core patches that Block Cache Alter provides does, that could change the behaviour, but if you run with a "clean" Drupal core, you could combine views cache with block caching without problems.
The cache would then be invalidated as follows:
* When content is changed, the block cache get's flushed.
* If you have views caching on your views, that cache wouldn't get invalidated. If you set up rules to do it, the views cache would be invalidated according to the rules.
It should therefore be safe to combine both the block cache and the views cache.
Comment #2
carn1x commentedAwesome thanks :)