Hacker News new | ask | show | jobs
by jopsen 1911 days ago
If you store data in firestore, dynmodb, postgres or similar.. does it really matter if the function is distributed?
1 comments

If there is no cached data, then it doesn't matter.

With Vercel it doesn't matter even in case there is valid cached data, because Vercel doesn't execute the function in that case.

Cloudflare always executes the Function regardless of the existence of cache and it's Function's responsibility to respond with Cached data. Hence, distributed Cloudflare functions is a necessity.