HELLCAT's Realtime Page Compressor [save 10-15% bandwidth]

gboyington

New Member
This is an old plugin designed for 3.5.x, but it works very well on 3.7.1, so I'm happy to release it here, as it is 100% tested and fully working.

******************************


What does this exately do?
----------------------------
This plugin strips all unneccesary whitespace, linebreaks and HTML comments out of the final HTML code that vBulletin sends to the browser.
This way the pages get a bit smaller (saving bandwidth) and the browser often renders the pages faster since there's no whitespace it must skip.

Passages that are enclosed by <pre> and <textarea> tags are left untouched completely so text posted in
Code:
, [php] and other bb-tags of that sort are not affected and kept like the user intended them to be.
Passages enclosed in <script> tags are only striped from leading whitspace but not of linebreaks - this way JavaScript (and other) code will remain functional and does not get messed up.


How to install
----------------
Couldn't be more easy.
If you have any other page/template complression tool installed -> uninstall it first.

Then go to "AdminCP -> Product Manager -> Add/Import product" and import the .XML you downloaded here.

Now go to the "vBulletin Options" in the AdminCP, under "Help Server Settings and Optimization Options" you will find the "Realtime Page Compressor Options" settings group.
Open the settings, change them to what you want and hit "SAVE"
(It's important that you SAVE the options even when you want to use the defaults! For vB to actually create theese settings in the DB they have to be saved at least once!!!)

Done :)


How to customize the stats display
------------------------------------
By default the "display stats at the bottom of each page" is selected.
Using this will put the stats at the very bottom of every page (what a surprise ;)) without the need of doing anything.

If you have choosen the "use HTML-Tag" option for displaying the stats, you have to include a special HTML tag somewhere in one of your templates for the stats to show up.

The tag is: <cmpstat />

Where ever this tag accours the stats of the compressor will be shown.

You have further the option of customizing the display itself!
If you want to chenge the way the stats are displayed simply go to the style manager and edit this template as you like:

"pagecompressor_stats"
********************************
Credits goes to :

Michael "Hellcat" Hengstmann

UPDATED by gboyington. Have fun :) 100% Free plugin.
 
nextgen said:
This really does improve speed some. Great add my friend. Thanks so much.
No, that's exactly the opposite.
This will save you bandwidth but it'll decrease the speed with which your pages load.
 
Back
Top