05-27-2008, 06:13 PM
|
#5 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
Well that blows my little hack away... All I've done to date as far as compression was to add this to the top of my config file (included first on every page, of course);
PHP Code:
ob_start("compress");
function compress ($buffer) { return str_replace(array("\r\n", "\r", "\n", "\t", ' ', ' ', ' '), '', $buffer); }
Looks pretty caveman now... 
-m
|
|
|
|