# Versioned URLs resolve only to their immutable staged snapshot. Missing releases
# return 404 instead of mixing current canonical modules into an older release.
 RewriteEngine On
 RewriteCond %{QUERY_STRING} (^|&)v=([a-f0-9]{12})(&|$) [NC]
 RewriteRule ^(?!_releases/|CLOUD/)(.+\.(?:html?|m?js|css|wasm|json))$ _releases/%2/$1 [END]
DirectoryIndex Main.html
RedirectMatch 302 ^/JETcentral/JETcentral\.html$ /JETcentral/Main.html
<IfModule mod_mime.c>
 AddType text/javascript .mjs .js
 AddType application/wasm .wasm
</IfModule>
<IfModule mod_expires.c>
 ExpiresActive Off
</IfModule>
<IfModule mod_headers.c>
 # Apply throughout this application, including nested tools and dependencies.
 Header unset Cache-Control
 Header always set Cache-Control "no-store, no-cache, max-age=0, must-revalidate"
 Header unset Expires
 Header always set Expires "Thu, 01 Jan 1970 00:00:00 GMT"
 Header always set Pragma "no-cache"
 <FilesMatch "(?i)\.html?$">
  # Clear only response caches on HTTPS; retain cookies and workspace storage.
  Header always set Clear-Site-Data "\"cache\""
 </FilesMatch>
</IfModule>
