# Cache versioned assets and compress text resources on Apache / LiteSpeed. AddType image/avif .avif AddType image/webp .webp AddType font/woff2 .woff2 AddOutputFilterByType DEFLATE text/html text/plain text/css text/javascript application/javascript application/json application/manifest+json image/svg+xml Header set Cache-Control "public, max-age=2592000" Header set Cache-Control "public, max-age=31536000, immutable" Header set Cache-Control "no-cache"