mod-gzip-diskApache 压缩模块
mod-gzip-disk 是一个用来对磁盘中存放的页面进行预压缩的Apache模块,而 mod-gzip 不同的是它每次请求都要重新压缩一次。
安装方法
gunzip -c mod_gzip_disk-0.5.tar.gz | tar -xvpf -
cd mod_gzip_disk
sudo make module
apxs might complain that the module cannot be inserted into the configuration because the config does not already have an example to follow. If this is the case then add the following to httpd.conf:
LoadModule gzip_disk_module modules/mod_gzip_disk.so
Check that modules/mod_gzip_disk.so does exist in ServerRoot.
评论