This issue is similar to #912888: Clear a specific panels page, but for views.

Currently it seems this module can only clear the caches for a full view, including all displays (If I understood this correctly?)
Could there be support for invidual views displays (similar to for example views_content_cache?

Comments

fabsor’s picture

Hi!

That is of course possible. The reason I did not include it in the first place is that the time-based cache that is included with views clears all displays no matter what, but we can probably add the functionality in the cache plugin for views included in the module.

I will try too look into it, but I will leave the issue unassigned if anyone else wants to give it a shot with patch.

fabsor’s picture

Status: Active » Fixed

Hi!

I just commited this functionality to the 2.x branch. Give it a spin =)

bibo’s picture

Wow, fantastic! Right now I have little time to test this (taking a small vacation), but my initial tests show that it works. Thank you!

PS: the fact that this module can also clear Varnish caches with rules.. is pretty damn great too! :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.