Can I force a route to be bundled as a separate Vercel lambda
Unanswered
Pampas Deerhound posted this in #help-forum
Pampas DeerhoundOP
As stated here: https://vercel.com/docs/functions/serverless-functions/runtimes#functions-created-per-deployment
But what if my project becomes pretty big? I'll end up having a 50MB lambda which takes more that 10s to cold start.
To optimize some of my endpoints, I was considering moving some heavy stuff like emails templating to separate routes. But is there any way to force Vercel to bundle those routes separately so that the rest of my lambdas are smlaller and faster to cold start?
Routes will be bundled into the fewest number of Serverless Functions possible
But what if my project becomes pretty big? I'll end up having a 50MB lambda which takes more that 10s to cold start.
To optimize some of my endpoints, I was considering moving some heavy stuff like emails templating to separate routes. But is there any way to force Vercel to bundle those routes separately so that the rest of my lambdas are smlaller and faster to cold start?