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 |
#212
|
||||
|
||||
working on 3.6.0 here as well.
*clicks install* |
#213
|
||||
|
||||
Does this work for vB 3.6.0 Gold?
I have mod_gzip installed in my server, and its enabled in vBulletin Optins using level 9, more over i am using this hack Plugin Based Template Cache so does it work with it? |
#214
|
|||
|
|||
Work good with 3.6.2
|
#215
|
|||
|
|||
Quote:
|
#216
|
||||
|
||||
Quote:
|
#217
|
|||
|
|||
No issues on 3.6.1 and gaining 8 to 15% saving.
Thank you. |
#218
|
||||
|
||||
Honestly, apologies to Hellcat, but this is a useless modification, any compression that is done by php should be done in the template conviersion, also anyone using gzip will already be getting these benifits and all this does is increase the load of the server. Gzip/mod_deflate would be prefered over this method.
|
#219
|
|||
|
|||
How can I include this product, using it in my own templates, What should I include?
Quote:
|
#220
|
|||
|
|||
People Take Care.
This Modification has destroyed my Style + some Functions of the Forum. I had to replace the whole Style from a Backup. What happend: In the AdminCP on the Style Edit Page (Header, Footer , etc) Changes hadnt been done for like 30min. After pressing the Save Button to save the Style Edit Page, the Login Window appeared because no changes for a long time (autologout). After logined the Page gets redirected to save the Style -> Here the Error happens with this Modification: The Whole Style data gets changed to non Line Breaks etc = unreadable. But: it also saves the eval Data to the Fields. For example if you have a Style Replacement Variable defined, its saves the new Style Data with the Variabels REPLACED. After this also my PM's only got send with empty Text. New Threads also couldnt be created because vBulletin said they are empty.. So ppl take care of that modification, it could destroy your whole Style + More. regards |
#221
|
||||
|
||||
Nice works great in 3.6.4 Average is roughly 8% Thank you
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|