1
CacheAutoTrimInterval & CacheMaxAge
Problem reported by Pavan Chaudhari - 4/7/2021 at 10:34 PM
Submitted
The application is an ASP.Net MVC application hosted in IIS.

DocumentUltimate version 4.7.0 


I tired to delete my cache ,
tried code below  but output is uncertain. 

 DocumentUltimateWebConfiguration.Current.CacheAutoTrimInterval = TimeSpan.Parse("00:05");
            DocumentUltimateWebConfiguration.Current.CacheMaxAge = TimeSpan.Parse("00:05");


I also  tried this below code also

DocumentUltimateWebConfiguration.Current.CacheAutoTrimInterval = TimeSpan.FromMinutes(5);
DocumentUltimateWebConfiguration.Current.CacheMaxAge = TimeSpan.FromMinutes(5);
Kindly guide how to delete the cache code in MVC

Thanks in advanced.
Pavan Chaudhari

Reply to Thread