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 |
#2
|
||||
|
||||
I like anything with "optimizer" in the title
|
#3
|
||||
|
||||
thanks
|
#4
|
||||
|
||||
I'll be installing this when vb4 goes gold
|
#5
|
|||
|
|||
While this does eliminate the execution of the php code which generates the correct stylesheet sets, I can't see how this improves the user experience. The number of individual http requests is greatly expanded. This goes against a rule of thumb for web design "best practices".
|
#6
|
|||
|
|||
Say you've got 3 FastCGI processes and 5 stylesheets included via css.php. Assuming none of those FastCGI processes are busy handling requests, it will take theoretically as much as twice as long for anything to render, and from a load perspective, one user will become six (not counting cache)
I'll be adding concatenation shortly for both CSS and Javascript soon |
#7
|
||||
|
||||
does this work for vb 3.7?
|
#8
|
|||
|
|||
It's already designed to concatenate the css. I know you'll stop using the FastCGI, but big deal - studies show the bigger problem for the user is the latency involved with multiple HTTP requests. I can only see this as "optimzation" if your server sucks and you care more about the server load stats than the latency of the user experience. Besides, since the css is essentially static, set your "expires" header properly on css output and a pageload will only hit the server once with the original code.
|
#9
|
|||
|
|||
Hugely improved version coming in a few hours
Also, multiple http requests = bad, multiple http requests where at least one can't complete until the others do = worse. It's not the server I'm concerned about |
#10
|
|||
|
|||
Annnnd... done
Feels good to have pages loading in a fraction of a second and being immediately responsive And ~2 second loads from an unprimed cache. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|