@Html.Sitecore().Rendering(pathOrId) does not apply “VaryBy” settings

This week I have faced with one unexpected issue in Sitecore 8.1. We are declaring few renderings on the layout using the Rendering method of the SitecoreHelper class in Sitecore.Mvc.dll. The issue can be reproduced by setting the "Cacheable" to true and applying the "VaryBy" settings. In result I can see that the "Cacheable" is … Continue reading @Html.Sitecore().Rendering(pathOrId) does not apply “VaryBy” settings

Advertisements

Fortis & Sitecore Tutorial 2 – Renderings

Let's continue... Today will demonstrate a simple and convenient way of implementing Sitecore renderings which Fortis provides out of the box. The latest Fortis version is built to support Sitecore MVC rendering types. View Renderings Controller Renderings You are more than welcome to organize your razor views the usual way, but in the demo solution … Continue reading Fortis & Sitecore Tutorial 2 – Renderings