When it comes to improving the performance of your website, performance optimisation is kind of a dark arts subject. One thing that is usually a given, is that if you try and need to do something custom then you're probably in for an interesting journey. Under the hood, Episerver uses a lof of the standard.NET caching. In today's guide, I'm going to cover how to enable output caching in your Episerver website. This post is the first in a series of applying output caching to your solution.
<add name="ClientResourceCache" enabled="true" duration="3600" varyByParam="*" varyByContentEncoding="gzip;deflate" />
public class StartPageController : PageController<StartPage>
public ActionResult Index(StartPage currentPage)
public void SetResposneHeaders()
Software Architect, Programmer and Technologist Jon Jones is founder and CEO of London-based tech firm Digital Prompt. He has been working in the field for nearly a decade, specializing in new technologies and technical solution research in the web business. A passionate blogger by heart , speaker & consultant from England.. always on the hunt for the next challenge