|
|
@ -5,20 +5,10 @@
|
|
|
|
</IfModule>
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
|
|
|
|
# zip zip zip
|
|
|
|
# zip zip zip
|
|
|
|
<ifModule mod_gzip.c>
|
|
|
|
<IfModule mod_deflate.c>
|
|
|
|
mod_gzip_on Yes
|
|
|
|
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
|
|
|
|
mod_gzip_dechunk Yes
|
|
|
|
AddOutputFilter DEFLATE json
|
|
|
|
|
|
|
|
</IfModule>
|
|
|
|
mod_gzip_minimum_file_size 300
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mod_gzip_item_include file .(html?|txt|css|js|json|php|pl)$
|
|
|
|
|
|
|
|
mod_gzip_item_include handler ^cgi-script$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mod_gzip_item_include mime ^application/x-javascript.*
|
|
|
|
|
|
|
|
mod_gzip_item_exclude mime ^image/.*
|
|
|
|
|
|
|
|
mod_gzip_item_include mime ^text/.*
|
|
|
|
|
|
|
|
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
|
|
|
|
|
|
|
|
</ifModule>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# early charset
|
|
|
|
# early charset
|
|
|
|
AddDefaultCharset UTF-8
|
|
|
|
AddDefaultCharset UTF-8
|
|
|
|