I created a Views Content Cache plugin that allows content to be purged based on a taxonomy term argument. It works in a bit of a cumbersome way, because it relies on an argument being set and doesn't present any options under the cache settings. Having said that, is this something that would be welcome in this module or should I release it as a separate project?

https://drupal.org/sandbox/erikwebb/1677398

The performance implications are huge in the case of forums, for example, where there are many identical Views with a term argument and only some of those pages need to be cleared when a new "post" (or whatever content type) is added.

Comments

erikwebb’s picture

Title: Add support for taxonomy term plugin » Add support for taxonomy term cache key plugin
erikwebb’s picture

Issue summary: View changes

Add note about D7 version not working

erikwebb’s picture

Status: Active » Needs review
erikwebb’s picture

Issue summary: View changes

Remove note about D7 incompatibility.

iacono’s picture

Issue summary: View changes

+1 Following - A welcomed addition

kopeboy’s picture

Yes please, include this.

I also came here because I am setting up my forum, but I think this is useful in general!
Is that hard to check for an updated taxonomy vocabulary?
I mean, IMHO the most important feature (and simple i guess) is to check for a new taxonomy term ID (later we can add a check for edit) under a picked vocabulary.

xoruna’s picture

It would be great new feature indeed. (Though this module already rocks as it is)
And also on user create/update!