< Introduction to .NET Framework 3.0
There are three types of caching supported by .NET 3.0
- Absolute Expiration Caching
- Sliding Caching
- Cache Dependency Expiration caching
Absolute Expiration Caching
This is a form of caching wherein the expiration time is specified in advance. After a specific period of time, the contents of the cache get deleted.
Sliding Caching
Here, a time span is specified upto which the program checks for access. If no individual has accessed the site till the time span has expired, then the contents of the cache get deleted. So here, the time-span of the cache depends upon the popularity of the site.
Cache Dependency Expiration
In cache dependency expiration, the timespan of the cache depends on when the particular item on which the data is dependent is changed.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.