# Duel des Lames — configuration Apache (o2switch)
AddType application/wasm .wasm
AddType application/octet-stream .pck
DirectoryIndex index.html

<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/html application/javascript text/javascript application/wasm application/octet-stream
</IfModule>

<IfModule mod_headers.c>
  <FilesMatch "\.(html)$">
    Header set Cache-Control "no-cache"
  </FilesMatch>
  <FilesMatch "\.(wasm|pck|js|png)$">
    Header set Cache-Control "public, max-age=604800"
  </FilesMatch>
</IfModule>
