Recently I was asked for an easy way to manually delete a cache entry key, so I decided to build a simple module that could be helpful for both developers and administrators who understand how cache is used; for instance, to invalidate Content Output Cache in EPiServer. This tool have the following: List all cache …
Month: March 2019
Content Output Caching – Part 3
It is possible to easily cache the rendering of a web page using a custom condition by setting a custom string, which ASP.NET will vary the output by. To test it, you need to create a class that inherits from MvcOutputCacheAttribute. Take a look at the following example: public class VaryByBrowser : Verndale.OutputCache.Attributes.MvcOutputCacheAttribute { protected …
Content Output Caching – Part 2
In the previous post you learned about how to install the output caching module in a EPiServer project. Now it is time to see it in action. First, I created a MVC application that displays a list of pages, so by default, each time the user invokes the controller action to see records, the application …