News for hackers. Stuff that matters.
Re:Show HN: Watchmespendmoney by anderjaska on Wednesday July 08, 2020 @04:15PM (#23773779)
Ah if only I wasn't using vercel and serverless functions!
Re:Show HN: Watchmespendmoney by styfle on Wednesday July 08, 2020 @05:21PM (#23774382)
You can add a `Cache-Control` response header with `s-maxage` in your Serverless Function to cache at the Edge.

https://vercel.com/docs/v2/serverless-functions/edge-caching

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Ca...