# Grande Tournée GR
Options -Indexes

# Cache assets statiques (1 semaine)
<FilesMatch "\.(css|js|jpg|jpeg|png|gif|svg|ico|webp)$">
    Header set Cache-Control "public, max-age=604800"
</FilesMatch>

# Pas de cache pour les fichiers PHP / API
<FilesMatch "\.php$">
    Header set Cache-Control "no-store, no-cache, must-revalidate"
</FilesMatch>

# Force HTTPS (décommenter une fois SSL configuré)
# RewriteEngine On
# RewriteCond %{HTTPS} off
# RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Compression
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html text/css application/javascript application/json
</IfModule>
