Page 1 of 1

ReportCacheMode Doubts???

Posted: Fri Feb 20, 2009 1:17 am
by jayakumargr
Hi,

i have some doubts in ReportCacheMode.

StiOptions.Engine.ReportCache.LimitForStartUsingCache = 50;
StiOptions.Engine.ReportCache.CachePath = "c:\temp";
StiReport report = new StiReport();
report.ReportCacheMode = StiReportCacheMode.Auto;

if i set ReportCacheMode is Auto then the every 50 rendered pages goes to cache? or first 50 pages goes to cache ? which one is correct ?

In the same way ReportCacheMode ON property.

Please explain in detail.

Thanks in advance,
Jayakumar

ReportCacheMode Doubts???

Posted: Fri Feb 20, 2009 2:05 am
by Edward
Hi Jayakumar,

When report.ReportCacheMode = StiReportCacheMode.Auto then cache will start from StiOptions.Engine.ReportCache.LimitForStartUsingCache page number.
When report.ReportCacheMode = StiReportCacheMode.On then cache will start from the very first page.

Amount of pages which will stay in the memory can be set via the following property: StiOptions.Engine.ReportCache.AmountOfQuickAccessPages.

All other pages will be in cache only.

Thank you.