Take the community feedback survey now.

dada
dada  -  CMS
Sep 29, 2025
  692
(2 votes)

Trigger DXP Warmup Locally to Catch Bugs & Performance Issues Early

Here’s our documentation on warmup in DXP:
🔗 https://docs.developers.optimizely.com/digital-experience-platform/docs/warming-up-sites

What I didn’t know is that you can also trigger warmup in your local development environment.
This can help expose bugs or issues before deploying to DXP and INT/PREP/PROD.

Example:

if (_webHostingEnvironment.IsDevelopment())
{

    services.AddCmsWarmup(configure =>
    {
        configure.Disable = false;
        configure.FollowLinkLevel = 10; // Should cover most pages?
        configure.WaitingForStartupTimeout = TimeSpan.FromSeconds(180);
        configure.StartupWaitingInterval = TimeSpan.FromMilliseconds(10);
        configure.RequestTimeout = TimeSpan.FromMinutes(1);
        configure.MaxNumberParallelRequests = 10; // Increase to speed up warmup and simulate more load
        configure.AdditionalPaths.Add("/en/alloy-plan"); // Add path to warmup that crawling won't find following links                    
    });

...


Note:
.AddCmsWarmup() is already implicitly triggered when using .AddCloudPlatformSupport(). However, for reasons I won’t go into here, it’s not something you trigger in your local/development environment.

 

Sep 29, 2025

Comments

Please login to comment.
Latest blogs
How to Add Multiple Authentication Providers to an Optimizely CMS 12 Site (Entra ID, Google, Facebook, and Local Identity)

Modern websites often need to let users sign in with their corporate account (Entra ID), their social identity (Google, Facebook), or a simple...

Francisco Quintanilla | Oct 22, 2025 |

Connecting the Dots Between Research and Specification to Implementation using NotebookLM

Overview As part of my day to day role as a solution architect I overlap with many clients, partners, solutions and technologies. I am often...

Scott Reed | Oct 22, 2025

MimeKit Vulnerability and EPiServer.CMS.Core Dependency Update

Hi everyone, We want to inform you about a critical security vulnerability affecting older versions of the EPiServer.CMS.Core  package due to its...

Bien Nguyen | Oct 21, 2025

Speeding Up Local Development with a Fake OpenID Authentication Handler

When working with OpenID authentication, local development often grinds to a halt waiting for identity servers, clients, and users to be configured...

Eric Herlitz | Oct 20, 2025 |