From d82a43704e0a64b1f6981b583f0a073d734a3448 Mon Sep 17 00:00:00 2001 From: edsea Date: Thu, 26 Dec 2024 01:07:01 +0100 Subject: [PATCH] Gzip update --- .htaccess | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.htaccess b/.htaccess index 96498c5..802933b 100644 --- a/.htaccess +++ b/.htaccess @@ -5,6 +5,17 @@ RewriteRule ^index\.php$ / [R=301,L] RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^([^/]+)/?$ $1.php [L] +# Enable GZip compression + + AddOutputFilterByType DEFLATE text/html text/plain text/xml + AddOutputFilterByType DEFLATE text/css text/javascript application/javascript + AddOutputFilterByType DEFLATE application/x-javascript application/json + AddOutputFilterByType DEFLATE application/xml application/xhtml+xml application/rss+xml + AddOutputFilterByType DEFLATE application/font-woff application/font-woff2 + AddOutputFilterByType DEFLATE image/svg+xml + + + # BEGIN cPanel-generated php ini directives, do not edit # Manual editing of this file may result in unexpected behavior. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)