Why this matters
Static sites are fast partly because they cache well. The tradeoff is that incorrect cache rules can delay visible updates.
Setup
Cache hashed assets aggressively. Keep HTML, RSS, and sitemap files on shorter cache windows so content updates appear quickly.
Implementation notes
After publishing important fixes, check the live page headers and content. CDN cache behavior can differ from local build output.
Final checklist
- Assets can cache long term
- HTML updates are visible
- Sitemap refreshes after deploy