# ─── TURN ON GZIP COMPRESSION FOR SHARED HOSTING ───
<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript application/json image/svg+xml image/x-icon
</IfModule>

# ─── FORCE AGGRESSIVE STANDALONE IMAGE CACHING ───
<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresDefault "access plus 1 month"
  ExpiresByType image/jpg "access plus 1 year"
  ExpiresByType image/jpeg "access plus 1 year"
  ExpiresByType image/png "access plus 1 year"
  ExpiresByType image/gif "access plus 1 year"
  ExpiresByType image/webp "access plus 1 year"
</IfModule>

# Prevent server performance bottlenecks from breaking execution streams
<IfModule mod_headers.c>
  Header set Cache-Control "public, max-age=31536000"
</IfModule>