How to cache server data in Next.js without stale HTML?
Question
Asked11 days ago
Viewed381 times
34
I'm working on **Next.js** and need to cache server data. I've tried a simple cache layer, but I'm still seeing stale HTML.
Context:
- Dataset size: small startup
- Expected output: p95 < 200ms
- Current behavior: timeouts under load
What would be a clean approach here, and what should I watch out for?