dada
dada  -  CMS
Sep 29, 2025
  899
(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
Optimizely PaaS + Figma + AI: Auto‑Generate Blocks with Cursor

What if your design handoff wrote itself? In this end‑to‑end demo, I use an AI Agent (inside Cursor) to translate a Figma design into an... The pos...

Naveed Ul-Haq | Feb 5, 2026 |

Graph access with only JS and Fetch

Postman is a popular tool for testing APIs. However, when testing an API like Optimizely Graph that I will be consuming in the front-end I prefer t...

Daniel Halse | Feb 4, 2026

Best Practices for Implementing Optimizely SaaS CMS: A Collective Wisdom Guide

This guide compiles collective insights and recommendations from Optimizely experts for implementing Optimizely SaaS CMS, focusing on achieving...

David Knipe | Feb 4, 2026 |

A day in the life of an Optimizely OMVP: Learning Optimizely Just Got Easier: Introducing the Optimizely Learning Centre

On the back of my last post about the Opti Graph Learning Centre, I am now happy to announce a revamped interactive learning platform that makes...

Graham Carr | Jan 31, 2026