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
CacheControlMiddlewareadded toblog_appandfamily_appinmain_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)
- Cloudflare Page Rule — set
hoffdesk.com/blog/static/*→ Cache Level: Bypass or Respect Existing Headers - Or: CF API token with Zone:Cache Purge permission for automated purging on deploy
- Dashboard static files — same
?v=cache-bust pattern for CSS if we're iterating there too