Gzip update
This commit is contained in:
11
.htaccess
11
.htaccess
@@ -5,6 +5,17 @@ RewriteRule ^index\.php$ / [R=301,L]
|
|||||||
RewriteCond %{REQUEST_FILENAME}.php -f
|
RewriteCond %{REQUEST_FILENAME}.php -f
|
||||||
RewriteRule ^([^/]+)/?$ $1.php [L]
|
RewriteRule ^([^/]+)/?$ $1.php [L]
|
||||||
|
|
||||||
|
# Enable GZip compression
|
||||||
|
<IfModule mod_deflate.c>
|
||||||
|
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
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
|
||||||
# BEGIN cPanel-generated php ini directives, do not edit
|
# BEGIN cPanel-generated php ini directives, do not edit
|
||||||
# Manual editing of this file may result in unexpected behavior.
|
# 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)
|
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
|
||||||
|
|||||||
Reference in New Issue
Block a user