How to Do a Cache RemoveΒΆ

Use TSCacheRemove to remove items from the cache. Possible callback events include:

  • TS_EVENT_CACHE_REMOVE - the item was removed. There is no data payload for this event.
  • TS_EVENT_CACHE_REMOVE_FAILED - indicates the cache was unable to remove the item identified by the cache key. TSCacheError data indicates why the remove failed.