Detect cache invalidation in clustered environment




If I have 2 servers serverA server B where editors are editing/saveing/deleteing pages on server A and visitors are on serverB

The notification is set up so pages on ServerB is renewed (cached removed) when editors edit pages on my questions:

1) How cant I detect on ServerB that Cachemanager has triggered en "remove from cache event" from serverA?

2) If 1) is possible is it a way to detect if a certain page has tiggered the cache invalidation event i.e an editor saves pageZ on ServerA on serverB I fetch this removeEvent and detect that it is pageZ that has triggered this event on serverA

Thanks in advance!

#65735 Feb 07, 2013 9:11

    Seems like I have found a solution that works for me.

    You could hook up to event "Event.Get(CacheManager.RemoveFromCacheEventId)" and then the PageEventArgs param contains a Param property that contains following string data "EPLanguageData:<pageId>"

    #65740 Feb 07, 2013 11:36