Apache性能优化–开启gzip压缩
摘要:
Apache 开启gzip压缩功能需要用到模块mod_deflate.so,你可以到%Apache安装路径%/modules文件夹下找到 mod_deflate.so这样一个文件。在 %Apache安装路径%/conf 下的httpd.conf文件里面是没有加载这一模块的,所以你必须手动进行配置,在httpd.conf文件里面添加上以下内容:#加载mod_deflate.so模块LoadModule deflate_module modules/mod_deflate.so#对text/html text/php text/png text/jpg text/plain text/css te 阅读全文
posted @ 2011-12-17 23:17 G.N&K 阅读(306) 评论(0) 推荐(0) 编辑