Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I wanted to know and implement warm up scripts in Sharepoint 2010. Can anyone tell me what are these warm up scripts and why do we need it?

Please provide the script and how to execute the same.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Like any .Net application, SharePoint requires a certain time to load the page initially and subsequent requests come faster from the server for the same site.

These are common issues faced by developers when they try accessing the site the first time of the day. In order to bypass this, we usually run a Start Up script or so called Warm up script at a scheduled time at the beginning of the day. This refreshes the App pool and in turn the subsequent IIS requests come faster like normal.

The best Wake up script I have found is from codeplex called SPWakeUp script which comes handy with certain parameters like -Exclude(to exclude certain sites), -UserName, -Password required for accessing the sites, etc.

share|improve this answer

The warmup scripts are meant to keep the SharePoint sites & its contents more responsive and some also for maintenance (recycling App pools & IIS). Here's an example - Warming up SharePoint 2010 using PowerShell

There's another post here that explains more - SharePoint Site Collection Keep Alive Job

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.