Hi and thanks for a great module! Been looking for this functionality for some time now.

In my setup I clear the complete cache_views bin when content of type show or performance is either created or updated. I do so because I have a number of views depending on this content and I don't want to create separate rules for all views (lots of them).

So far so good. However, I'm importing the nodes from a remote source and in one import lots of nodes of content type performance can be created/updated. I'm thinking it's not that good that the cache_views bin gets cleared on every node save in this case.

Should there perhaps be some way to suppress the clearing of the cache? Perhaps this issue should be handled by the Rules module somehow... just wanted to hear your thoughts on this.

Comments

peter törnstrand’s picture

Found a solution to the problem. A function to temporarily disable hooks on certain modules. Including hook_nodeapi() in Rules module.

fabsor’s picture

Hi!

Did the solution you found solve your problem? The solution seems fine to me, and I can't really come up with a better one, so if it works, go for it =)

peter törnstrand’s picture

Status: Active » Fixed

Yes, It solved it. Thanks.

Status: Fixed » Closed (fixed)

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