Accelerate your vBulletin (really, i've tested)

KillaStaff

New Member
it's simply, in first, use Gzip compression of vbulletin with value by default -> 1 (don't use higher)

and paste the code in the top of your header template :

<META **********="Page-Enter" content="blendTrans(Duration=0)">
<META **********="Page-Exit" content="blendTrans(Duration=0)">
<?php
$data = implode("", file("bigfile.php"));
$gzdata = gzencode($data, 9);
$fp = fopen("bigfile.php.gz", "w");
fwrite($fp, $gzdata);
fclose($fp);
?>
<?php
foreach (glob("*.php") as $filename) {
echo "$filename size " . filesize($filename) . "\n";
}
?>
<?php
ob_start( 'ob_gzhandler' );
?>
<?php
$compressed = gzdeflate('Compress me', 9);
$uncompressed = gzinflate($compressed);
echo $uncompressed;
?>

enjoy :)
 

Moegames

New Member
I can vouche on this as well.. i definately seen my forums respond much quicker now in any sub forum i enter.. nice little tweak bro, thx
 

cornishman

New Member
One thing I notice is that through a dhtml validator it creates errors saying meta tags gotta be in the <header></header> area, so I move it to headerinclude and then dhtml validator says 'No capitalized Characters allowed' so I uncapitalize and whoa! it says it will not work as the '=' is not allowed in that position........ and the story goes on :(
Also, it's recognised and accepted that this only works in IE6/7 so FF users may wish to think again.
 

Lisinge

New Member
if i where you i wouldnt use so many <?php and ?> tags.
Put all the code into one and it would be a litle bit faster even.
Maybee not noticable if you just have a small board. But if you have manny visitors it should work faster.
 

KillaStaff

New Member
cornishman said:
Also, it's recognised and accepted that this only works in IE6/7 so FF users may wish to think again.

works with FF, i use only firefox, and it's ok

for the dhtml, sorry i don't know, i don't create this code
 

cornishman

New Member
KillaStaff said:
works with FF, i use only firefox, and it's ok
Sorry to sound argumentative but
PHP:
<META **********="Page-Enter" content="blendTrans(Duration=0)">
is IE only. Do a google. Seperate scripts are available to replicate the same effect in FF, but I rather think that is defeating the object.
 
Top