in order to speed up my website and php pages, i use compression my php pages currently fetch text, create thumbnails etc. Currently these two compression paragraphs are at the very bottom of my htaccess file. Should the both be there? Is this code correct?
What value is best for the zlib to go in my htaccess? I guese 16386 is default and equals to 16k or 16K . What if one puts there 2M ? Will that make php processing or page loading any faster? are there any other options one might add there except the number 16386? Any and all advices are welcome and honoured +1!
# preserve bandwidth for PHP enabled servers <ifmodule mod_php4.c> php_value zlib.output_compression 16386 </ifmodule> # compress speficic filetypes <IfModule mod_deflate.c> <FilesMatch "\.(js|css|eot|ttf|fon|svg|xml|ast|php)$"> SetOutputFilter DEFLATE </FilesMatch> </IfModule>