What is the maximum expiration time we can set for an item in the HttpRuntime cache ...?
And what is the default expiration time ..?
public static void Add(string pName, object pValue) { System.Web.HttpRuntime.Cache.Add(pName, pValue, null, DateTime.Now.AddSeconds(60), TimeSpan.Zero, System.Web.Caching.CacheItemPriority.High, null); }
In the fourth parameter above, the code is "absoluteExpiration".
What maximum value can we provide here ...?
If I provided 05/10/2014, will this item be available in the cache for this long period ...?
(This request is related to the implementation of the AppFabric cache. An attempt to replace the Httpruntime cache with the AppFabric cache).
Sunil source share