Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Robert Johansson 9 posts 30 karma points
    Nov 23, 2011 @ 22:07
    Robert Johansson
    0

    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?  

  • Rodion Novoselov 694 posts 859 karma points
    Nov 23, 2011 @ 22:22
    Rodion Novoselov
    0

    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.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Nov 23, 2011 @ 22:41
    Jeroen Breuer
    0

    Have a look at this blog for more info on events: http://www.richardsoeteman.net/2009/02/22/UmbracoV4EventsDemo.aspx.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft