ReportCacheMode Doubts???

Stimulsoft Reports.NET discussion
Post Reply
jayakumargr
Posts: 85
Joined: Sat Jan 20, 2007 4:21 am

ReportCacheMode Doubts???

Post 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
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

ReportCacheMode Doubts???

Post 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.
Post Reply