by brendanmc6 · 5y ago · 0 comments
I've had good success using the free tier of Vercel functions to handle the low-traffic storefront and user accounts for offsetra.com - Just wrapper functions around stripe and firestore. It's a godsend for independent, unskilled, time-constrained front-end devs like me!
Disclaimer: I'm a Vercel enterprise customer
"Vercel doesn’t replicate Functions across their Network in Free and Pro accounts - Functions can be deployed to one particular region only. Enterprise plan users can specify multiple regions for Serverless Functions."
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.
Good luck with your project!