Resolving High CPU Consumption Due to Database Queries in Optimizely CMS

Have you ever encountered a scenario where your database server's CPU consumption spiked to 100%, causing major disruptions? In this blog post, we'll delve into a real-life case where a client experienced precisely that, and how we identified and resolved the root cause. The Problem Unveiled Our client, let's call them ClientX, was facing intermittent …

Continue reading Resolving High CPU Consumption Due to Database Queries in Optimizely CMS

Cache Tag Helpers in Optimizely 12

As developers, we always should look for opportunities to boost the performance of web applications. Caching is one of them. It can significantly improve our application load time and responsiveness and ASP.NET Core helps us with this by providing server-side caching using Caching Tag Helpers in views.

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 …

Continue reading Content Output Caching – Part 3