Page 1 of 1
Documentation missing: image caching etc.
Posted: Tue Feb 17, 2009 4:21 pm
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
Documentation missing: image caching etc.
Posted: Wed Feb 18, 2009 9:29 am
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.
Image cache is necessary for caching big size images and report cache is intended for caching of whole pages.
Thank you.
Documentation missing: image caching etc.
Posted: Wed Feb 18, 2009 12:13 pm
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
Documentation missing: image caching etc.
Posted: Thu Feb 19, 2009 3:15 am
by Edward
Hi Patrick,
Thank you for the suggestion. We will return to this question after official release 2009.1.
Thank you.
Re: image caching code issue
Posted: Fri Jan 10, 2020 11:38 am
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
Re: Documentation missing: image caching etc.
Posted: Mon Jan 13, 2020 6:52 pm
by HighAley
Hello.
This option is not available ion the Reports.JS product.
Thank you.