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 |
#82
|
|||
|
|||
Quote:
|
#83
|
|||
|
|||
woot this updated one have a higher percentage now =]
|
#84
|
|||
|
|||
Thanks for this - just installed and got a healthy 12% compression on my forum home page.
|
#85
|
||||
|
||||
Installed... works great 18% or so!
|
#86
|
|||
|
|||
*clicks install*
|
#87
|
|||
|
|||
Not trying to rain on anyone's parade here, but I have a question.
Doesn't vB support zlib compression out of the box? And wouldn't zlib compression give you this level of compression and more? And wouldn't adding this in addition to zlib compression needlessly increase the server load? Like I said - not trying to rain on anybody's parade - this seems like a great concept - but I would like an explanation as to why I am wrong if there is one. I'm not affiliated with this site - and I'm not sure if there's a linking policy here, but you can test the difference in the output by checking your page here: http://www.whatsmyip.org/mod_gzip_test/ it shows the original size, and gzipped size. I'm wondering if anybody who has it installed can report the improved numbers factoring in gzip compression. I'm just thinking - if your real-world size improvement is closer to 1%, then maybe this isn't as good of an idea. If you aren't using gzip compression, then I expect the results from this plugin would be much more dramatic. Just some thoughts... ---- This was such an easy install, I thought I'd try it out myself. Here are my results: Plugin Active: [page compression: 81.58 k/98.58 k (17.24%)] gzip page reports: Original Size: 84 K Gzipped Size: 11 K Data Savings: 86.9% With the product disabled: gzip page reports: Original Size: 89 K Gzipped Size: 12 K Data Savings: 86.52% I find it strange that the website and the plugin report different page sizes, but it's probably a matter of one of them calculating /1024 versus the other one calculating /1000. The plugin did show improvement, but like I expected, not too much. I don't have an active forum, so I couldn't do this test on a lot of pages. I also have no idea how much this plugin would actually affect server load. Probably not that much, but I imagine it's really a question of webmaster preference as to whether or not this is worth it. Great plugin though hellcat! And a serious amount of improvement for anyone not using compression already. |
#88
|
||||
|
||||
nice one , saving between 10 and 15% depending on the page :squareeyed:
Cheers |
#89
|
||||
|
||||
INSTALLED!
Excellent mod and very easy to do! I am saving 9% to 15% depending on the page. Thanks! 8) |
#90
|
|||
|
|||
Quote:
Then you can just put every block you want to leave untouched by the compression between <nocompress> and </nocompress> tags and the compressor will not touch it |
#91
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|