Interface IOutputCacheHook
This interface provides custom hooks which allows the grouping of data along with metadata before storing it in the cache.
Assembly: Alachisoft.NCache.OutputCacheProvider.dll
Syntax
public interface IOutputCacheHook
Methods
Name | Description |
---|---|
Dispose() | It releases resources which are no longer in use by OutputCacheHook. |
Initialize() | Initializes the OutputCacheHook. |
OnCachingOutput(HttpContext, String, Object, CacheOperation, ref DateTime) | This method functions as a hook between the OutputCache provider and user code. It is called when output is generated by the framework, but before insertion into the cache. Thus, allowing intermediate hooks for user, where additional information can be added with CacheMetadata including Group, Tag, NamedTag and Cache Dependency settings. |