It would be so awesome to have support for the Cache Tags module.

Basically, the support would consist of an action where you can specify a set of cache tags. The action would then use the Cache Tags module to invalidate relevant cache entries.

Comments

fabsor’s picture

That is actually a REALLY good idea. I will look into it =)

dixon_’s picture

And when configuring the action, you should of course be able to use stuff from the context of the action.

And for even more awesomeness, we should develop a CTools cache plugin that can do cache_set() with tags. That cache plugin should be able to configure cache tags from values in the CTools context.

fabsor’s picture

Priority: Major » Normal

This will be aweseome!

I will degrade this to normal however, it's not really something that's urgently needed.

dixon_’s picture

FYI, I have started #1322236: Integration with contrib (entitycache, diff, nodequeue and panels) for Cache Tags. It itegrates with hooks from entitycache. So no need for Rules actions to clear entity caches. But we should probably have Rules action support anyway. I wonder if Cache Tags actually is a better place for those actions, so we don't need a loose dependency on Cache Tags for that? To keep things more cleanly separated I mean...