Allow disabling warmup for integration and preproduction
Integration and preproduction environments are sometimes protected by IP-whitelists and in those cases the warmup step always fails with status code 401. The warmup system waits for about 15 minutes until these requests time out. This increases delivery times to these environments specially when CI/CD is set up.
Ex:
2026-03-10 12:40:24 Information Starting to warm up the targets slots...
2026-03-10 12:40:25 Information Preparing target slot for Go Live (<masked>/slot) (warming up the slot)
2026-03-10 12:52:21 Warning Timed out waiting for all instances for webapp <masked> and slot "slot" to become ready!
2026-03-10 12:52:21 Information Validating deployment ID uniqueness between slots for <masked>.
2026-03-10 12:52:22 Information Deployment ID validation passed.
2026-03-10 12:52:22 Information Sending webrequests to validate the slot (<masked>/slot)...
2026-03-10 12:52:55 Warning Site with URL http://<masked>-slot.dxcloud.episerver.net/ responded with error code: 401 (Unauthorized)
Below are some suggestions to resolve this issue:
1. Warmup system should respect WarmupOptions.Disable in appsettings.
2. Paas portal should have options to disable warmup for selected environments.
3. Deploy script should cancel the warmup step if the start page fails with status code 401.