dada
dada  -  CMS
Sep 29, 2025
  1061
(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
Why Optimizely's MCP Servers Offering Matters

MCP (Model Context Protocol) is what enables, connecting AI agents directly to enterprise tools. With Optimizely OPAL and Optimizely MCP servers,...

K Khan | Jun 9, 2026

A day in the life of an Optimizely OMVP: Managing Graph search: the native portal and the community plugin

Optimizely Graph has quietly become the search engine sitting underneath most new Optimizely builds. It ships with CMS 13, it's the answer to "what...

Graham Carr | Jun 9, 2026

Extending SelectMany for Multi-Column Checkbox Layouts in Optimizely CMS 12

By default, a SelectMany property is rendered as a vertical checkbox list in the CMS editor. While this works well for a small number of options,...

Sanjay Kumar | Jun 9, 2026

Optimizely CMS (SaaS) MCP Basics

What just shipped Optimizely quietly dropped something significant: a hosted Model Context Protocol (MCP) server for CMS (SaaS). This means your...

Kiran Patil | Jun 9, 2026 |