Hi
Hello,
Thank you for your posting and using GroupDocs.Viewer.
We rechecked RemoveOldEntries method and it works well for us. For test purpose we added it in HomeController class in section Index() (please check the code here http://prntscr.com/7xw23a) and each time when the index page is loaded this method is called. Also, as you can see in the code that we added the path to a log file, to make sure that this method works. After this, we run our MVC application and check this log file. Now we can see which files were found and removed (http://prntscr.com/7xw4ta).
Please make sure that you use this method just as we do and try it again. Also please check the log file that would ensure that your cache files were found. Please do not forget that the rootStoragePath path parameter (in new DocumentCache(string licensePath, string rootStoragePath)) should be the same path that you configured in SetRootStoragePath method.
Also please be sure that you have entries in the cache that are older than the period you set in the method.
Best regards,
Evgen Efimov
http://groupdocs.com
Your Document Collaboration APIs