Cold Start

You might say

After sitting idle, the first click on my site takes three seconds, then the second click is instant—is my code broken?

Extra startup delay on the first request when no warm instance is running and the platform must initialize environment, code, and connectionsOn serverless or sleep-on-idle hosting, the first request after an idle period can take 2.5 seconds while the very next request takes 80 ms. Cold starts only slow down the first request hitting a fresh instance; if every back-to-back request is slow, look for slow queries or application code instead.
Cold Boot

You can say this to an AI Agent

Ready to paste into Cursor, Claude Code, or Codex
Structured AI Agent prompt

The first request to this deployed endpoint after sitting idle takes over 2 seconds, while the second takes under 100 ms—likely a slow cold start. Check whether the route imports unnecessary heavy packages at startup or opens extra connections during init, lazy-load optional modules and reuse the connection pool, then compare init duration vs warm duration in deployment logs.

Want your Agent to translate plain-language UI ideas automatically?Install free VibeHub Skill →
Oil UI Pro. Push AI’s design skills to the limit. Usability, existing projects and stricter review.
Further reading