28
Cold start is dominated by imports for things most requests never use, is moving them inside the handler the fix?
A serverless API with about a dozen routes. One of them generates PDFs, one talks to a payment provider, one does image work. The rest are ordinary database reads. Every request pays for all of it at startup, because…