How to: Preload the Cache (Report Manager)
Use a data-driven subscription to preload the cache with instances of parameterized reports. For more information, see Report Caching in Reporting Services.
To preload the cache with a user-specific report
In Report Manager, navigate to the Contents page, and then navigate to the report you want to create a subscription for.
In order to create a data-driven subscription, the report must be configured to use stored credentials or no credentials.
Click the report, click the Subscriptions tab, and then click New Data-Driven Subscription.
Optionally type a description for the subscription.
From the Specify how recipients are notified list, select Null Delivery Provider.
Specify a data source type and then click Next to configure the data source.
Specify the connection type, connection string, and credentials for accessing the data source that contains subscriber data. The following example illustrates a connection string used to connect to a SQL Server database called Subscribers:
data source=<servername>; initial catalog=Subscribers
Specify the query or command that retrieves subscriber data. Optionally increase the time-out period for queries that take a long time to process. For example:
Select * from UserInfo
Click Validate. The query must be validated before you continue. When the Query validated successfully message appears, click Next.
Because you cannot configure delivery extension settings for the null delivery provider, click Next.
Specify report parameter values for the subscription, and click Next.
Specify when the subscription is processed. Do not choose When the report data is updated on the report server. That setting is for snapshots only. If want to use a pre-existing schedule, select On a shared schedule.
Or, to create a custom schedule, click On a schedule created for this subscription and then click Next. Configure the schedule and then click Finish.
In order for the subscribers to receive the newest report, the schedule that you configure should be consistent with the report delivery schedule that you have defined for the subscribers. For more information, see Report Caching in Reporting Services.
Configure the Execution options for the report as follows. On the report page, click the Properties tab.
In the left frame, click the Execution tab.
On the page, select Render this report with the most recent data.
Choose one of the following two cache options and configure the expiration as follows:
To make the cached copy expire after a particular time period, click Cache a temporary copy of the report. Expire copy of report after a number of minutes. Type the number of minutes for report expiration.
To make the cached copy expire on a schedule, click Cache a temporary copy of the report. Expire copy of report on the following schedule. Click Configure, or select a shared schedule to set a schedule for report expiration.