We have an external cache that I want to clear when a page is created, updated, deleted, published etc. Basically during every event. The external cache contains a page wrapper (Wrapping the node object together with many other objects)
Hi. Take a look at Document.BeforeXXX / AfterXXX events (the umbraco.cms.businesslogic.web.Document class). It seems that they're exactly what you need.
Clear cache from page events
Hi,
We have an external cache that I want to clear when a page is created, updated, deleted, published etc. Basically during every event. The external cache contains a page wrapper (Wrapping the node object together with many other objects)
What events should I keep track on?
Hi. Take a look at Document.BeforeXXX / AfterXXX events (the umbraco.cms.businesslogic.web.Document class). It seems that they're exactly what you need.
Have a look at this blog for more info on events: http://www.richardsoeteman.net/2009/02/22/UmbracoV4EventsDemo.aspx.
Jeroen
is working on a reply...