I've been meaning to post about this for some time now, so I decided there is no time like the present. All of the tips below apply to both MOSS 2007 and SharePoint 2010.
When you are setting up a SharePoint site, performance is often an overlooked item. It is particularly important for public web sites, but Intranet sites an collaborative sites benefit from this as well. We'll use our own Envision IT public web site (www.envisionit.com) as the example. The items that we'll cover are:
- Setting up the site collection object cache to improve the content query web part performance. These web parts are used extensively in the sites
- Enabling and configuring the cache profiles (which are off by default)
- Turning on the disk-based BLOB cache for binary objects (images, PDFs, etc.)
- Setting up a wake-up script to run nightly to hit the sites and cause the caches to get initialized and populated, as well as ASP.NET started up