The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB4 SuperCharged - Optimises CSS, Javascript and HTML Details »» | |||||||||||||||||||||||||||||||||
vB4 SuperCharged - Optimises CSS, Javascript and HTML
Developer Last Online: Oct 2021
This is designed for vBulletin 4.0.x only.
DO NOT INSTALL on vB 4.1.x or 4.2.x. Even if it worked correctly, the effect is negligible as vB4 is nowhere near as terrible client-side speed-wise as it once was. DO NOT ask for fixes, they will not come, I have moved to XenForo. __________________________________________________ ______________ tl;dr - Significant frontend speed improvements for vBulletin 4 Don't forget to Mark as Installed if you use this mod, and a nomination for MOTM would be nice __________________________________________________ ______________ Features: CSS Optimiser: Minifies all CSS files and serves CSS directly, eliminating the PHP overhead from css.php. Javascript Optimiser: Intelligently defers Javascript loading (puts script tags just before </body> on the fly) and combines common Javascript files. Also features optional compression with Google Closure Compiler. HTML Optimiser: Based on HELLCAT's Realtime Page Compressor, and adds complete whitespace removal around block and meta elements and removal of unimportant comments. Attachment Optimiser: Intended for FastCGI users only - serves attachment thumbnails and images directly rather than through PHP. All this is done efficiently and on-the-fly - no need for any template edits. __________________________________________________ ______________ Installation:
Conflicts:
Upgrading:
Changelog: 1.51:
ONLY if you wish to use the Attachment Optimiser, something similar to this is needed in your server config (nginx): Code:
location /customattachments { if ($request_uri ~* \.(png)) { add_header Content-Type image/png; } if ($request_uri ~* \.(jpg|jpeg)) { add_header Content-Type image/jpeg; } if ($request_uri ~* \.(gif)) { add_header Content-Type image/gif; } } Download Now
Screenshots
Show Your Support
|
Comments |
#492
|
|||
|
|||
I am trying to compress the CSS but get this error:
"Fatal error: Maximum execution time of 30 seconds exceeded in ...vbsc.php on line 384" I have a lot of styles... Any ideas? |
#493
|
|||
|
|||
Edit vbsc.php and put set_time_limit(0); on the line after the opening <?php
|
#494
|
|||
|
|||
Worked like a charm. Thanks!
|
#495
|
||||
|
||||
Hi..
Excellent Modification. Installed and Nominated for MOTM. One Request, can we have the CSS Combiner like we have for Javascript files? |
#496
|
|||
|
|||
Quote:
Plus with how inefficient the vBulletin CSS is, it's best to keep it at a minimum on each page. |
#497
|
||||
|
||||
I am not sure.. But, can't they be added with <vb:if condition>? Like a extra plugin at {vb:raw template_hook.headinclude_css}
That'll probably require manual removal of the existing calls. And, what about the ability of adding custom js files? Like, I have a few modification installed that requires js files to be loaded. A filed to add them manually would be much appreciated. |
#498
|
|||
|
|||
You can add them to includes/vbsc_global.php (the $GLOBALS['js_files'] array) - just remember to merge the changes when you go to update vBSC
|
#499
|
||||
|
||||
?ber cool..
Do I need to change anything in templates so that the js files don't go double called? BTW, a suggestion.. Can you add a tutorial on how we can install "nginx with ngx_http_gzip_static_module" on dedicated apache servers? |
#500
|
|||
|
|||
Quote:
Quote:
http://www.vbulletin.com/forum/showt...of-a-new-giant http://wiki.nginx.org If you are going to go with nginx, I recommend ditching Apache completely and running PHP through PHP-FPM. |
#501
|
||||
|
||||
When trying to run the System Test an error message comes back saying "vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test."
However the system is online. TIA. VB 4.0.4 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|