views:

77

answers:

1

If I add an item to the cache named "foo", and then add another item named "foo" to the cache before the first expires, will this trigger the CacheItemRemoved event?

+1  A: 

Nope, it just overwrites the item. The item-removed callback is not invoked.

Tom Jelen