Speeding up serverless function response times in deployments like in Vercel
Extracted from the following link.
Just add the following code where you can access the response object.
s-maxage value according to how long you want the CDN to cache the response (in seconds).
Leave a Reaction below!!! (No login required)