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 |
#32
|
|||
|
|||
PHP Code:
Any idea? edit: Oh no! The whole board is down and can't seem to restore my SQL Database (giving me an error). |
#33
|
||||
|
||||
Upload your back up copy (if you did back it up) if not try posting the line 957 in here so that they can better help you.
|
#34
|
||||
|
||||
This is a good hack, but unfortunately I can't use it after trying it ... it does remove spaces between tags and makes the page become slightly smaller (I got as much as 12% compression in some pages), but it also removes spaces that should aesthetically be there (those that don't have , for instance) ...
One example include the separation between the page number links in multiple page topics... they appear 12345...Last Page instead of the usual 1 2 3 4 5 ... Last Page and frankly I don't have time to go back to each template and replace the simple spacing with so it would be recognized by the hack as a legitimate spacing... Sure, I can just modify the default page navigation templates, but those weren't the only templates affected just coz of simple spacing, and it surely defeats the purpose of the hack anyway As I said, this is an excellent hack but I can't incorporate it for aesthetic reasons... keep up the good work tho ... I'm having a blast with the webtemplates |
#35
|
|||
|
|||
Nice job Logician! Thanks for the great documentation with your hacks!
|
#36
|
|||
|
|||
Seems to work perfectly. Great Work!
-------------------------------------------------- Powered by: vBulletin Version 2.2.9 Copyright ©2000, 2001, Jelsoft Enterprises Limited. Page generated in 0.24441695 seconds (88.99% PHP - 11.01% MySQL) with 25 queries. [Debug Mode OFF] [PHP v4.3.2] [GZIP disabled] [Output: 156.90 Kb. compressed to 148.90 Kb. by saving 8.00 Kb. (5.10%)] [Server Load: 0.00 » 0.01 : 0.00] |
#37
|
||||
|
||||
works fine on the forum but messes up my Vbhome layout when i'm signed in as admin
|
#38
|
||||
|
||||
Quote:
|
#39
|
||||
|
||||
Very cool! Thanks, mate.
I installed this on my vB3 forums, and integrated it into my own version of microstats. Working very well. |
#40
|
||||
|
||||
Quote:
You need to change this line in the hack PHP Code:
PHP Code:
PHP Code:
PHP Code:
Enjoy.. |
#41
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|