For Multiple Publishing Targets, Update IndexUpdateStrategies

Hat off to Kam Figy for his phenomenally useful post – “Have two web databases? Don’t forget the IndexUpdateStrategy“. The clue is in in the title – if you’ve got multiple publishing targets – so multiple web databases – you’ll need to specify a new (differently named) OnPublishEndAsync strategy (e.g. OnDeliveryPublishEndAsync). The standard one only applies to the Web database. Then reference that strategy.

Go read his post; it’s a good one.

For Multiple Publishing Targets, Update IndexUpdateStrategies

Programmatically caching things in Sitecore

I’ve seen a number of Sitecore projects now that use the ASP.NET cache, and this bothers me slightly. Shouldn’t Sitecore – which does have it’s own caching – offer a way of caching itself? Perhaps with integration to things like ‘clear cache on publish’, etc.?

Well, it does, and Anders Laub describes it neatly in “How to create a custom cache in Sitecore“.  Continue reading “Programmatically caching things in Sitecore”

Programmatically caching things in Sitecore