How to Pre-Load a SharePoint Collection

Written by Denis Stadler on . Posted in Administration

After the IIS application pool was recycled or after the command iisreset was run, it takes usually more time to load the SharePoint site collection.
it-powershell

A nice work around to fix the waiting time is to run the following PowerShell script immediately after the reset event:

$url = "http://<your site collection url>"

$wc = New-Object System.Net.WebClient
$wc.Credentials = [System.Net.CredentialCache]::DefaultCredentials
$wc.DownloadString($url)

Tags: ,

Trackback from your site.

Denis Stadler

I'm a technology enthusiast, with more than 10 years of experience in SharePoint and Dynamics CRM projects. To find more details about, please visit the about me page.

Leave a comment

*