There are two policies for expiration of Cached objects : -
1.Absolute expiration: Which is a fixed duration for expiration.
The object with an absolute expiration period of say 1minute , will expire completely after 1 min .
2. Sliding expiration:
Now here the objects expiration period varies according to the access of the object.
If the object is frequently accessed its expiration period also goes on resetting.
I.e . If there is sliding expiration of 1 minute and it is before one minute , then its expiration period is reset to 1 minute.
Asked In: ASP.NET |