# ── Disable caching for PHP files ─────────────────────────────
<FilesMatch "\.php$">
  Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
  Header set Pragma "no-cache"
  Header set Expires "Thu, 01 Jan 1970 00:00:00 GMT"
</FilesMatch>

# ── Allow static assets to cache normally ──────────────────────
<FilesMatch "\.(css|js|png|jpg|jpeg|gif|svg|ico|woff|woff2|ttf)$">
  Header set Cache-Control "public, max-age=86400"
</FilesMatch>