Documentation missing: image caching etc.

Stimulsoft Reports.NET discussion
Post Reply
patwolf
Posts: 90
Joined: Thu May 29, 2008 1:38 pm
Location: Los Angles

Documentation missing: image caching etc.

Post by patwolf »

Hi,

it seems like there are quite a few functions which aren't mentioned in the documentation:
e.g.
StiOptions.Engine.ImageCache.Enabled = true;
StiOptions.Engine.ImageCache.CachePath = "image.cache";

StiOptions.Engine.ReportCache.LimitForStartUsingCache property .
StiOptions.Engine.ReportCache.CachePath

Where would I find out how to use them please?

Also:
* What is the difference between Stimulsoft.Report.StiOptions.Engine.ReportCache.CachePath and report.ReportCachePath?
* Is cache path a relative path? like "cache.image" or an absolute path "c:\temp\cache.image"?
* When should I use image cache and when report cache?

Thanks,
Patrick

PS: Here the source posts:
http://forum.stimulsoft.com/Default.aspx?g=posts&t=1758
http://forum.stimulsoft.com/Default.aspx?g=posts&t=1520
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Documentation missing: image caching etc.

Post by Edward »

Hi Patrick,
patwolf wrote:it seems like there are quite a few functions which aren't mentioned in the documentation:
e.g.
StiOptions.Engine.ImageCache.Enabled = true;
StiOptions.Engine.ImageCache.CachePath = "image.cache";

StiOptions.Engine.ReportCache.LimitForStartUsingCache property .
StiOptions.Engine.ReportCache.CachePath

Where would I find out how to use them please?
ImageCache is intended for caching of the images with size which exceeds 1 Mb.

ReportCache is a cache on hard drive which allows you to build reports with high memory consumption. Sometimes there is not enough memory even for loading all the rendered report at the same time and only part of the report can be loaded at once.
Also:
* What is the difference between Stimulsoft.Report.StiOptions.Engine.ReportCache.CachePath and report.ReportCachePath?
report.ReportCachePath is intended for internal use only. Please do not use it.
* Is cache path a relative path? like "cache.image" or an absolute path "c:\temp\cache.image"?
It is an absolute path.
* When should I use image cache and when report cache?
PS: Here the source posts:
http://forum.stimulsoft.com/Default.aspx?g=posts&t=1758
http://forum.stimulsoft.com/Default.aspx?g=posts&t=1520
Image cache is necessary for caching big size images and report cache is intended for caching of whole pages.

Thank you.
patwolf
Posts: 90
Joined: Thu May 29, 2008 1:38 pm
Location: Los Angles

Documentation missing: image caching etc.

Post by patwolf »

Hi Edward,

thanks for your helpful reply. If I may add a suggestion... keeping the documentation in the forum can be confusing and time consuming for many users so maybe setting up a wiki would be the most helpful approach to have uptodate documentation with samples, videos etc.

I can highly recommend this wiki: http://wiki.developer.mindtouch.com/Min ... i/Download

All the best,
Patrick
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Documentation missing: image caching etc.

Post by Edward »

Hi Patrick,

Thank you for the suggestion. We will return to this question after official release 2009.1.

Thank you.
moijs
Posts: 1
Joined: Mon Jun 10, 2019 1:49 pm

Re: image caching code issue

Post by moijs »

Hello everyone,

I am using stimulsoft 2019.3.1 version. I wanna code for image cache while rendering stimulsoft (json) report on UI page. Following is my code.

$window.Stimulsoft.StiOptions.Engine.ImageCache.Enabled = true;

But at execution time, its giving me error as "message": "Cannot set property 'Enabled' of undefined"

So anybody can help me out here?

thank you
sayyed moij
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Documentation missing: image caching etc.

Post by HighAley »

Hello.

This option is not available ion the Reports.JS product.

Thank you.
Post Reply