The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
RealTime Template Compressor: Reduces page sizes, loads pages faster, saves Bandwidth Details »» | |||||||||||||||||||||||||||
RealTime Template Compressor: Reduces page sizes, loads pages faster, saves Bandwidth
Developer Last Online: Nov 2023
As you know all vbulletin pages consists of templates and templates consists of HTML (+sometimes javascript) tags.
Nearly in all sites and HTML pages, HTML tags are written in a readable format so that developer can read the source code easily. VB templates abide by this rule too. However when this "nicely readable" code is called by a visitor, page size unnecessarily increases because of the redundant "spaces" and "line breaks" in the source code which have no useful purpose regarding the page output but is there just for making the source code more readable to the developer. This hack removes these unnecessary spaces and line breaks from your vbulletin templates AT THE MOMENT they are displayed (in realtime). It does NOT touch your original source code so it is still readable to you when you want to edit it in your admin CP. But it compress the output when they are sent to user's browser. Removal of these unnecessary characters makes sure: a) Page output shrinks in all vb pages b) Thus page loads faster by all visitors c) You save bandwidth. Since the removed characters are unnecessary characters, display of your page does NOT change. Please see FAQ below for more info. This hack is 100% compatible with Teck's Microstat Hack and my Advanced Templates: Dynamic Templates Changing according to different conditions hack and WebTemplates 2.x: VB Integrated Content Management System . It is a very easy to install add (just a few lines in 1 step) yet effective. I appreciate if you can click INSTALL button, if you use the hack. Thank you. :glasses: Show Your Support
|
Comments |
#17
|
||||
|
||||
top notch again Logician.
|
#18
|
||||
|
||||
Very nice, gonna try to get it to work on vB3
Logician = The Wise Template Man |
#19
|
||||
|
||||
Quote:
Great hack as allways Logician |
#20
|
||||
|
||||
Installed!
[Output: 99.74 Kb. compressed to 96.07 Kb. by saving 3.67 Kb. (3.68%)] |
#21
|
||||
|
||||
Nice idea.
/me clicks install. |
#22
|
|||
|
|||
i wonder if this can be modified for normal pages as well?
|
#23
|
||||
|
||||
Quote:
The correct way that line is printed in my functions.php is: Code:
$versionnum = phpversion(); Also, the second step's code can be found by searching for Code:
$adminstats = '<br />[' . $debugmode . '] [PHP v' . $versionnum . '] [' . $gziptext . ']' . $serverload; My finished line for that portion of the hack is Code:
$adminstats = '<br />[' . $debugmode . '] [PHP v' . $versionnum . '] [' . $gziptext . ']' . $output . $serverload; |
#24
|
||||
|
||||
Quote:
|
#25
|
||||
|
||||
Added into my vb3 nice job man.
|
#26
|
||||
|
||||
The proof is in the scroll bar.
I took out the hack, viewed the source on my main forum page then put it back in and viewed. Here is a before and after screan. Do not mind my awsome paint |
#27
|
|||
|
|||
Quote:
|
#28
|
||||
|
||||
I think vb3 actualy has a stats in it (although I can not find where to turn it on) sort of funny I can hack it to hell and back but no good at finding already made options lmao.
|
#29
|
||||
|
||||
Great hack! I always wanted to do something like this... It's working fine on my site. Thanks.
|
#30
|
||||
|
||||
You know, I was thinking about it.. wouldn't be possible to disable this hack only if the Add template name in comments option is active on the control panel?
|
#31
|
|||
|
|||
Page generated in 0.13410795 seconds (88.36% PHP - 11.64% MySQL) with 22 queries.
[Debug Mode OFF] [PHP v4.3.2] [GZIP disabled] [Output: 46.13 Kb. compressed to 43.23 Kb. by saving 2.90 Kb. (6.28%)] [Server Load: 0.00 » 0.00 : 0.00] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|