skip to content
Alvin Lucillo

Reduce app service cold start

/ 1 min read

Set your app service’s config with --always-on true to ensure that its host process is continuously running. If it’s not enabled, end users might encounter delays due to cold start of the service.

az webapp config set \
    --resource-group $RESOURCE_GROUP \
    --name $APP_NAME \
    --always-on true
{
  "alwaysOn": true,
  "name": "<app-name>",
  "resourceGroup": "<resource-group>"
}