Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit cb25bbb

Browse files
bpamiriclaude
andcommitted
Add server warmup URLs for faster first-request response
Configure CommandBox warm-up-server() to precompile CFML templates on container startup. Hits 13 key public URLs sequentially while queuing real user requests. 300s timeout gives ample headroom for first-request compilation. Swarm healthcheck is already disabled so containers won't be killed during warmup. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1785036 commit cb25bbb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

deploy/swarm/server.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
"rewrites": {
1212
"enable": true,
1313
"config": "public/urlrewrite.xml"
14-
}
14+
},
15+
"rules": [
16+
"warm-up-server( urls={'/index.cfm','/blog','/blog/list','/blog/Categories','/guides','/3.0.0/guides','/api','/api/3.0.0/','/docs','/community','/news','/downloads','/login'}, requestStrategy=queue, async=false, timeoutSeconds=300 )"
17+
]
1518
},
1619
"app": {
1720
"cfengine": "lucee@6.2.2+91",

0 commit comments

Comments
 (0)