Page 1 of 1

Cache files not removing

Posted: Wed Mar 10, 2021 10:09 am
by vitek.abeln
Hello,

I set up the StiCacheHelper that saves the reports in local storage in the folder "CacheFiles" (based on this documentation : https://www.stimulsoft.com/en/documenta ... ashing.htm). I am using an angular designer in combination with .net core api. I have noticed that the "SaveReport" function always gets called twice when I open the designer, which creates two cache files of the same report. I have also noticed that the cached files arent getting removed. They are just piling up. I have tried encapsulating all the "StiReport" instances as in this question (viewtopic.php?t=40096). I have the controller set up as follows(" options.Server.CacheTimeout = 1; options.Server.AllowAutoUpdateCache = false; options.Server.UseCacheForResources = true;").

How can I make sure the cached files are getting deleted?

Best regards

Re: Cache files not removing

Posted: Fri Mar 12, 2021 2:53 pm
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.