This is a migrated thread and some comments may be shown as answers.

Cache results for the day

1 Answer 148 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 14 Feb 2019, 11:26 PM

     Every day we are provided new data.  We have over a lines of data and are generating 50+ charts using the reporting software.

 

When the first user loads the charts of the day how can I cache the results of the calculations so the next user and so on for the rest of the current day is cached so it loads right away with the cached calculated results?

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 19 Feb 2019, 03:45 PM
Hi Michael,

The Telerik Reporting REST Service generally caches generated report documents, and when a report is rendered with the same values of Report Parameters as before, it will be taken from the cache and may be shared among users. The caching and sharing may be controlled via ClientSessionTimeout and ReportSharingTimeout properties. For further information, you may check the HTML5 Report Viewer and Reporting REST services article.

If you would like to re-use only the data during that date you may use ObjectDataSource component and implement custom logic for caching the data after being initially fetched from the source.

Regards,
Todor
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or