Had a few peaple ask how to enable gzip so i thought i would add it here.
Edit view_video.php
on line 1 after ""<?php"" add:
Code:
if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start();
Do this on whatever pages gets a lot of hits (ie index.php user.php) or all if you wish.
Here is a quick example why it is useful :
Code:
Results for: http://think-porn.com/think1/view/1358/ethiopian-black-amateur-rides-big-dick-on-hidden-camera/
Web page compressed? Yes
Compression type? gzip
Size, Markup (bytes) 57,869
Size, Compressed (bytes) 9,052
Compression % 84.4
Code:
Results for: http://sexxxyurl.com/view/16/funny_sexy_cartoons/
Web page compressed? No
Compression type? none
Size, Markup (bytes) 28,158
Size, Compressed (bytes) 0
Compression % 0.0
What if http://sexxxyurl.com/view/16/funny_sexy_cartoons/ was compressed / gzip encoded?
GZIP Compression Level Size, Compressed (bytes) Compression % Download (seconds)
0 28,158 0.0 ?.??
1 6,250 77.8 ?.??
2 6,081 78.4 ?.??
3 5,924 79.0 ?.??
4 5,599 80.1 ?.??
5 5,461 80.6 ?.??
6 5,402 80.8 ?.??
7 5,380 80.9 ?.??
8 5,347 81.0 ?.??
9 5,341 81.0 ?.??
Gl for all who did not know how to greatly speed up there sites with this.
Dont know if your page is already Gzip'd?
Test it here > GIDZipTest: Web Page Compression (Deflate / Gzip) Test - GIDNetwork
Bookmarks