What are the expiration policies for Cached objects?

 Posted by Sandeepv on 9/14/2009 | Category: ASP.NET Interview questions | Views: 2569

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 | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by Sandeepv