Cache files not removing
Posted: Wed Mar 10, 2021 10:09 am
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
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