# Cache static assets Header set Cache-Control "public, max-age=31536000, immutable" # Cache HTML with short lifetime Header set Cache-Control "public, max-age=3600, must-revalidate" # Security headers Header set X-Content-Type-Options "nosniff" Header set X-Frame-Options "SAMEORIGIN" Header set X-XSS-Protection "1; mode=block" Header set Referrer-Policy "strict-origin-when-cross-origin"