A customer reported to me that their content editor would freeze for 5 minutes if you clicked the root node of their site in Content Editor. I was surprised – bit when I went and did so, it froze for 5 minutes.
Now, this was on a newly upgraded and replatformed system, so I when and tried their existing system – and had the same result. The first click on the root node would take 5 minutes to load. So, it wasn’t our upgrade – but that I could study more easily. As it was the first click only, I figured caching was involved – but what gives? How do I find out what’s going on?
Continue reading “Debugging – Why my Content Editor was so slow”
Previously I posted about the generalities of implementing a Cache in Sitecore using the CustomCache class. Well, I’ve actually implemented a few caches for Sitecore using this; let’s have a look at my general pattern. Continue reading “An example caching class for 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”