Why is SharePoint slow when I first use it?
Following a recent forum thread on the subject I thought it would be useful post something for all of the people who have recently moved to MOSS.
Quote for Joel Oleson:
Ever had users say, for some odd reason some times when I hit my SharePoint site it takes 30 seconds to load, then after a refresh it goes sub second, even clearing their cache the page is fast. That’s because it’s not a user issue, its simply compiling, caching, etc… on the server after an IISReset or app pool reset or worker process cycle.
Warming Up SharePoint
There is an easy fix for this that effectively warms up your SharePoint by making calls to all of the common pages to ensure the compiling and caching are done before the users hit the box.
If your an admin you will be looking for a batch script that you can run on your productions servers. Joel has one here along with a good description of what is happening to make it slow.
If your a developer and/or you like things with GUI’s the Spencer Harbar’s neat little App Pool Recycle utility is a must, something I install as a matter of course on my Development and Presentation VMs.
