Cold Start
After sitting idle, the first click on my site takes three seconds, then the second click is instant—is my code broken?
You can say this to an AI Agent
Ready to paste into Cursor, Claude Code, or CodexThe 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.
