Cache files not removing

Stimulsoft Reports.WEB discussion
Post Reply
vitek.abeln
Posts: 18
Joined: Thu Nov 05, 2020 2:14 pm

Cache files not removing

Post 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
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Cache files not removing

Post by Lech Kulikowski »

Hello,

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

Thank you.
Post Reply