I have some reports that look for images that may be in a specified folder or an azure blob. It takes about 1 minute to generate the report with all the information you need. When I click on print the report is re-generated and it takes another 1 minute to print this data.
Is there any way to configure it so that stimulsoft does not generate it again and instead uses the information already sought?
Report printing - Webapi and Javascript
-
- Posts: 5
- Joined: Tue Jun 04, 2019 7:18 pm
Re: Report printing - Webapi and Javascript
Hello,
Is the cache enabled on the server-side?
Which our component do you use?
How do you render the report?
Maybe you should use the StiCacheHelper.
Thank you.
Is the cache enabled on the server-side?
Which our component do you use?
How do you render the report?
Maybe you should use the StiCacheHelper.
Thank you.
-
- Posts: 5
- Joined: Tue Jun 04, 2019 7:18 pm
Re: Report printing - Webapi and Javascript
As the application that consumes stimulsoft is in the cloud, is there any risk of allocating a lot of memory on the servers and does this cause some other problem? I performed the tests on local machines, apparently they solve well. But I have this fear in the cloud.HighAley wrote: ↑Tue Feb 11, 2020 9:42 am Hello,
Is the cache enabled on the server-side?
Which our component do you use?
How do you render the report?
Maybe you should use the StiCacheHelper.
Thank you.
-
- Posts: 6264
- Joined: Tue Mar 20, 2018 5:34 am
Re: Report printing - Webapi and Javascript
Hello,
If you use standard methods of work with the cache, the server memory is used to store the built report. The storage time can be changed in the viewer options, the CacheTimeout property, by default 20 minutes.
You can also override the cache using the StiCacheHelper class and save reports to files or a database for example. You can find out more here:
https://www.stimulsoft.com/en/documenta ... ashing.htm
Thank you.
If you use standard methods of work with the cache, the server memory is used to store the built report. The storage time can be changed in the viewer options, the CacheTimeout property, by default 20 minutes.
You can also override the cache using the StiCacheHelper class and save reports to files or a database for example. You can find out more here:
https://www.stimulsoft.com/en/documenta ... ashing.htm
Thank you.