Speeding up Websites via Simple Apache Settings in Htaccess [zlib.output_compression + mod_deflate] a Syntax
问题 Imagine these two chunks of code residing in htaccess for speeding up the website. With php 5.2.3 on apache 2.0 block A # preserve bandwidth for PHP enabled servers <ifmodule mod_php4.c> php_value zlib.output_compression 16386 </ifmodule> block B # compress speficic filetypes <IfModule mod_deflate.c> <FilesMatch "\.(js|css|eot|ttf|svg|xml|ast|php)$"> SetOutputFilter DEFLATE </FilesMatch> </IfModule> Questions that arise: Q1. Is this the proper way to combine these two blocks A + B into 1