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 |
#132
|
|||
|
|||
OK, to be fair, I loaded some larger pages and the size difference is higher, ~25% I am seeing now.
This has got to be a gzip issue, as the page size changed from 19K down to 6K, but the stats from this product said it was from 162K to 125K. Hmmmmm..... |
#133
|
|||
|
|||
Well, it's gotta be something to do with the gzip capabilities of Apache. Firefoxs numbers are way too low. I did a "wget" of the page with HELLCAT's compressor turned off and on, and the real data is 5x what firefox reports.
If you are using Gzip, the real difference is not going to be as big as you would think from looking at these numbers. And you are just trading off CPU utilization in mod_gzip for cpu utilization in Hellcat's compressor. BUT, the resulting file is smaller at browswer, which is still a good thing. |
#134
|
|||
|
|||
clicks install.. installation couldnt be easier!
|
#135
|
||||
|
||||
[page compression: 23.05 k/27.93 k (17.48%)]
[page compression: 120.00 k/140.53 k (14.61%)] |
#136
|
||||
|
||||
Quote:
uninstall it, is it still there? |
#137
|
||||
|
||||
thanx GOD ur removing comments on global_complete, cz i replace stuff in parse_template
AWESOME MOD |
#138
|
||||
|
||||
replace
Code:
$output = preg_replace('/>[\s]+</', "> <" ,$output ); Code:
$output = preg_replace('/>[\s]+</', "><" ,$output ); 1%-3% |
#139
|
|||
|
|||
Quote:
Quote:
That's why I added the space, see a few pages earlier. |
#140
|
|||
|
|||
Installed...
14% average! |
#141
|
||||
|
||||
Excellent product, sorry you got bunched into a HotM competition with eBux/eStore, if it weren't for those you'd be taking the crown this month!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|