Cache public HTML carefully
Anonymous marketing pages love CDNs. Authenticated dashboards usually do not. Mixing them without vary rules causes leaks or chaos.
SWR patterns
Serve stale while revalidating when freshness can lag. Users see speed; you update in the background.
Invalidate with intent
Know how to purge when content changes. Mystery caches create “I deployed but nothing changed” days.
#cdn#caching#architecture