This is a follow up to the previous Clearing output cache in a multi server environment article. Before adding code to clear more caches, it may be useful to check whether the page is actually being rendered. Here is a small debugging example for...
I ran into this exception while looking at a custom media handler in an Optimizely CMS 11 website. The stack trace pointed at Optimizely trying to append an ETag header, but the interesting part turned out to be a redirect in our own code. This is...
I’m back in the Optimizely sphere after working on vanilla .NET applications for a while, and ran into a weird 301 permanent redirect happening when calling an API endpoint in an Optimizely 11 website. A call to the endpoint would often produce th...
Here is an improved version of the Exception enrichment functionality described in the article Enriching your exceptions with information from Episerver. Updates has been made in order to make it more robust in regards to usage of abstract classes...
Here is a validation attribute that I wrote in order to limit the number of items that editors may put in Optimizely ContentAreas to a specific set of numbers, instead of having max and min values. The part that may be of interest to highlight is...