Month: December 2016

How to remove Template Language Version

Few days ago I have faced with the situation when some of my templates had had language versions that differs from en.

Firstly I opened Template Manager and navigated to desired template. Then I clicked on Versions tab and was very surprised. There was no button to remove version! There is possibility to save, to switch and to reset, on this tab. Fortunately, Sitecore is a very powerful tool with a lots of different helpful utility pages. One of them saved my life.

Continue reading “How to remove Template Language Version”

Sitecore MVC – Custom Vary By Cache Options

Sitecore, by default, provides varies options like Vary by Data, Vary by Query String to enable HTML cache (more information about Sitecore caching could be found here). Sometimes none of these options (based on component built type) help the component to get cached by Sitecore cache.

In this article I will describe how to introduce custom VaryByCache option. It’s pretty simple.

First of all, let’s create a new template where all custom VaryByCache options will be presented.

varybycache-template-example
Sitecore VaryByCache template

Continue reading “Sitecore MVC – Custom Vary By Cache Options”

How to add a custom button into the Rich Text Editor

This is the fourth post in the series about Rich Text Editor (RTE) in Sitecore. The first post which was about the basics of setting up the RTE could be found here.

Sitecore is an incredibly good platform that provides a lot of functionality out of the box, but the greatest thing about Sitecore is that if there is something you’d like to customize, there’s always a way to do it. I’m going to walk through the process of adding a custom piece of functionality to Sitecore’s Rich Text Editor. There are a lot of reasons you would want to do this but for this example we’ll build a simple text insertion demo that you can expand upon.

Continue reading “How to add a custom button into the Rich Text Editor”

Sitecore caching

In this post I would like to describe different levels of Sitecore caches. Cache plays a vital role in website performance. So, it is really important to understand how Sitecore cache works, from which parts consists and how it could be configurated. If we master these skills it would be easy to do performance turning using cache settings.

There are some useful tools which can show us the structure and content of Sitecore cache Continue reading “Sitecore caching”