The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Compressing forum's archive
My forum is gziped but forum's archive is not?!
How can I compress forum's archive with gzip compression? Thanks! P.S. I working with VB version 3.7 |
#2
|
|||
|
|||
OK. I find solution!
My forum's archive is now gzip compressed. I put this line of code: if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); in file archive/index.php I place it here: // #################### DEFINE IMPORTANT CONSTANTS ####################### define('SESSION_BYPASS', 1); define('THIS_SCRIPT', 'archive'); if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); // ################### PRE-CACHE TEMPLATES AND DATA ###################### To see is it you archive gziped go to website for gzip testing: http://www.gidnetwork.com/tools/gzip-test.php Enjoy |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|