Warm-up script for a SharePoint Publishing Environment

I’m doing some performance tuning for a SharePoint 2010 publishing environment at a customer and I had a need for a decent warm up script. Scavenging the net gave me lots of scripts but all of them just warmed up the homepage of a site collection or at best, the homepages of the sub webs.… Continue reading Warm-up script for a SharePoint Publishing Environment

Create a cache profile in SharePoint using PowerShell

I have been looking for a way to create a new cache profile in SharePoint using Powershell. This profile can be used in the Page Output cache. I noticed that cache profiles are stored in a list called “Cache Profiles” and implement the “Page Output Cache” content type. So, creating a new profile shouldn’t be… Continue reading Create a cache profile in SharePoint using PowerShell

AvailablePageLayouts property value has to be one a single line

Today, I was deploying a custom web template in SharePoint 2010 in which I had specified that only 9 custom page layouts were allowed. I did this by adding a property to the Publishing feature (id 22A9EF51-737B-4ff2-9346-694633FE4416) in my custom onet.xml file called AvailablePageLayouts where you specify the location and the name of the allowed page layouts. The… Continue reading AvailablePageLayouts property value has to be one a single line