apache_conf compesion y optimizacion de carga de pagina con .htaccess
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache_conf compesion y optimizacion de carga de pagina con .htaccess相关的知识,希望对你有一定的参考价值。
FileETag none # Turn off eTags
<IfModule mod_expires.c> # Check that the expires module has been installed
ExpiresActive On
ExpiresDefault "access plus 10 years"
ExpiresByType image/gif "access plus 10 years"
ExpiresByType image/jpeg "access plus 10 years"
ExpiresByType image/png "access plus 10 years"
ExpiresByType text/css "access plus 10 years"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType text/javascript "access plus 10 years"
ExpiresByType application/x-unknown-content-type "access plus 10 years"
ExpiresByType application/x-javascript "access plus 10 years"
</IfModule>
<IfModule mod_gzip.c> # check if gZip support has been installed
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.*
</IfModule>View on Github
以上是关于apache_conf compesion y optimizacion de carga de pagina con .htaccess的主要内容,如果未能解决你的问题,请参考以下文章
apache_conf Redireccioanr el trafic de http https(SSL)Drupal o altres。
apache_conf psycopg:错误:b'你需要安装postgresql-server-dev-X.Y来构建服务器端扩展或libpq-dev来构建客户端
Python中输入Python,如何输出p,y,t,h,o,n?
O乘法与快速乘O(log)
phpspreadsheet初次使用指引
phpspreadsheet初次使用指引