SharePoint 2010 Warmup server script
[转]http://www.bybugday.com/Lists/Posts/Post.aspx?ID=24
Here’s a nice script you can run/schedule on your SharePoint server to cache up the pages in SharePoint:
http://www.bybugday.com/Documents/warmup.rar
Edit the startup.bat file and add your ServerName in the “Call WarmUpServer ServerName” section:
Then edit the WarmUpServer.cmd file and add your URL’s to the “Call :HitPage URL” section.
This refreshes your SharePoint pages!