Serverless Pre-Rendering
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.
javascript
Set the s-maxage
value according to how long you want the CDN to cache the response (in seconds).
0 views
Leave a Reaction below!!! (No login required)