Closed (fixed)
Project:
Cache Actions
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2010 at 20:35 UTC
Updated:
20 Dec 2010 at 21:20 UTC
I have several different views to take care of the same node type. If I want to cache the views for that node type, and have the cache clear if new node content is added, or current is changed, can I use "After saving new content" for the event? If that can't do both new/changed, does that mean I have to make separate ones for each node type?
Comments
Comment #1
fabsor commentedHi!
You can use the "Content is going to be saved" event. That event triggers on both new content creation and alteration of current content.
Comment #2
wxman commentedThank. I thought that one might. I tried it in a test, but I still wasn't sure.
I'm surprised that there isn't a trigger that fires for either/or new/changed event. I'm also surprised that I never noticed that before.
Comment #3
fabsor commentedHi!
I guess this is solved then. If you have any other issues, please open a new issue.