Lurker News
Hi everyone! My name's Luke and I made the original Jmail here alongside Riley Walz. We had a ton of friends collaborate on building out more of the app suite last night in lieue of DOJ's "Epstein files" release.

Please AMA!

Comments (363) 90 threads

Show all comments

Showing thread 13 of 90

yoan9224#
The cost optimization here is impressive - $10 for millions of visitors using Next.js + Vercel + Cloudflare R2 (free egress).

I'm building an analytics SaaS with a similar stack and this validates our architecture choices. A few questions:
1. How are you handling ISR vs full static generation? You mentioned migrating to generateStaticParams - did you pre-generate all email pages or use on-demand ISR?
2. Did you hit any Vercel function limits with the email processing, or is everything cached aggressively enough that it doesn't matter?
3. R2's free egress is a game-changer - are you using Cloudflare's image transformations or handling resizing client-side?
The caching strategy here is the real MVP. Most people underestimate how far good caching with Next.js can take you before you need Redis or more complex infrastructure.