# Systemika Studio web deployment: never reuse stale application assets after
# an in-place release. Query fingerprints in the generated WebApp are the first
# line of defence; these headers protect direct asset requests and proxies too.
<IfModule mod_headers.c>
  <FilesMatch "\.(?:html?|js|css|json|svg|png|jpe?g|gif|webp|ico|woff2?|ttf)$">
    Header set Cache-Control "no-cache, no-store, must-revalidate, max-age=0"
    Header set Pragma "no-cache"
    Header set Expires "0"
  </FilesMatch>
</IfModule>

<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType text/html "access plus 0 seconds"
  ExpiresByType text/css "access plus 0 seconds"
  ExpiresByType application/javascript "access plus 0 seconds"
  ExpiresByType text/javascript "access plus 0 seconds"
  ExpiresByType application/json "access plus 0 seconds"
  ExpiresByType image/svg+xml "access plus 0 seconds"
  ExpiresByType image/png "access plus 0 seconds"
  ExpiresByType image/jpeg "access plus 0 seconds"
  ExpiresByType image/gif "access plus 0 seconds"
  ExpiresByType image/webp "access plus 0 seconds"
  ExpiresByType image/x-icon "access plus 0 seconds"
  ExpiresByType font/woff "access plus 0 seconds"
  ExpiresByType font/woff2 "access plus 0 seconds"
  ExpiresByType font/ttf "access plus 0 seconds"
</IfModule>
