# Written by bin/sync-assets.mjs on every build; do not edit by hand.
<IfModule mod_mime.c>
  AddType application/wasm .wasm
  AddType application/javascript .js
</IfModule>

<IfModule mod_headers.c>
  # Versioned and content-hashed files never change at their URL.
  <FilesMatch "\.(wasm|js|css|png|gif)$">
    Header set Cache-Control "public, max-age=31536000, immutable"
  </FilesMatch>
  # The one JSME file whose name never changes: its job is to pick the
  # content-hashed permutation, so it may be an hour stale at most.
  <FilesMatch "^jsme\.nocache\.js$">
    Header set Cache-Control "public, max-age=3600"
  </FilesMatch>
  Header append Vary Accept-Encoding
</IfModule>

# The RDKit binary is seven megabytes on disk, so compress it on the way out.
<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE application/wasm application/javascript text/javascript text/css
</IfModule>
