Skip to main content
← All fixes

The fix

For Vercel: move heavy initialization out of the handler into module scope so it caches across warm invocations. For Supabase/Postgres: use a connection pooler (PgBouncer) β€” direct connections cold-start slow. For function size: trim deps, the larger the function the slower the cold start.

Deeper dive: read the full article β†’

More Ship failures

Know a better fix, or hit one that’s not here? Submit a fix β†’

Get one fix in your inbox each week. The Weekly Fix β†’