punjabtechnicaluniversity.blogspot.in
1.File dependency :- Allows you to invalidate a specific cache item when a disk based file or files change.
2. Time-based expiration :- Allows you to invalidate a specific cache item depending on predefined time.
3. Key dependency :-Allows you to invalidate a specific cache item depending when another cached item changes.
When you add an item to the cache, you can define dependency relationships that can force that item to be removed from the cache under specific activities of dependencies.Example if the cache object is dependent on file and when the file data changes you want the cache object to be update.Following are the supported dependency:-
2. Time-based expiration :- Allows you to invalidate a specific cache item depending on predefined time.
3. Key dependency :-Allows you to invalidate a specific cache item depending when another cached item changes.
0 comments:
Post a Comment
North India Campus