# Cache Control — Backlog Item **Date:** 2026-04-30 **Filed by:** Daedalus 🎨 ## Problem Iterative blog and dashboard work (SVG covers, CSS tweaks, template changes) doesn't propagate immediately because Cloudflare's default caching holds static assets for 4+ hours. ## What's Already Done - `CacheControlMiddleware` added to `blog_app` and `family_app` in `main_v2.py` - HTML pages: `Cache-Control: no-cache, no-store, must-revalidate` + `CDN-Cache-Control: no-cache` - Static assets: `Cache-Control: public, max-age=3600` + `CDN-Cache-Control: public, max-age=3600` - Blog article hero images have `?v={{ updated_at }}` Jinja2 cache busting ## What's Still Needed (P4 — Future Enhancement) 1. **Cloudflare Page Rule** — set `hoffdesk.com/blog/static/*` → Cache Level: Bypass or Respect Existing Headers 2. **Or**: CF API token with Zone:Cache Purge permission for automated purging on deploy 3. **Dashboard static files** — same `?v=` cache-bust pattern for CSS if we're iterating there too