![]() |
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 |
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:) |
All times are GMT. The time now is 01:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|