📜  .htaccess - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:29.632000             🧑  作者: Mango

代码示例8
# GZIP Komprimierung aktivieren

mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*