The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
HELLCAT's Realtime Page Compressor Details »» | |||||||||||||||||||||||||
This is my version of a realtime page compressor.
The idea is based on ShiningArcanine's port of the "Realtime Template Compressor", that is also based on the original concept by Logician, and can be found in this thread: https://vborg.vbsupport.ru/showthread.php?t=83248 But since my version doesn't contain any of his original code anymore (even the regular expressions have been rewritten) and I added a bunch of new features I finally decided to release this one as a speperate thing. Features:
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 More details are in the README. Have fun! UPDATE 1.10 Not a day old and here comes the first update
Update 1.20
Update 1.21
Show Your Support
|
Comments |
#182
|
||||
|
||||
So far this is working out nicely. Thank you, Hellcat. *Clicks install*
While I haven't gone through the entire thread my guess as to why people are having different compression rates would equal to the amount of coding that needs to be compressed. It's all relative. I'm averaging high 14% with a scale between 11% - 19% (possibly more). On the high at the Calendar "yearly" view I've hit 31.41%. Again, great job. |
#183
|
|||
|
|||
Quick question
I often copy news from various sites and paste it into the WYSIWYG editor, but for some reason, it removed the spaces between the paragraphs/lines I assumed it was the compressor, but even after removing it or using the <nocompress> tag, it still did it Is this a non compressor issue? heh |
#184
|
|||
|
|||
I removed your hack and install the temple compressor with crashed my forums. I reuploaded the entire forums directory.
Now i reinstalled yours compression is down to 1 - 3 % it use to be more like 10 - 15% I also upgraded to 3.5.4 since i installed your hack. Do you think 3.5.4 is better compress thant 3.5.0? |
#185
|
|||
|
|||
Installed.. uppin your thread
|
#186
|
||||
|
||||
Cool and very useful. Page compression between 7 - 15 %. Thx a lot.
|
#187
|
|||
|
|||
For some reason, this thing doesn't seem to be removing HTML comments from my forums.
|
#188
|
||||
|
||||
Hi,
do you think forum speed will improve by using this hack? |
#189
|
||||
|
||||
Quote:
|
#190
|
||||
|
||||
I'd call that a feature since all that script really accomplishes is to annoy your users
|
#191
|
||||
|
||||
Awesome plugin. Only one thing - the control panel -> options reads
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|