![]() |
|
Mod Options |
![]() |
|||||||||||||||
vB4 SuperCharged - Optimises CSS, Javascript and HTML
![]() Developer Last Online: Jan 2019 ![]() ![]() ![]()
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):
(although some browsers will probably be happy enough without these headers) Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
|
Comments |
#2
|
||||
|
||||
I like anything with "optimizer" in the title
![]()
__________________
No members have liked this post.
|
#3
|
||||
|
||||
thanks
No members have liked this post.
|
#4
|
||||
|
||||
I'll be installing this when vb4 goes gold
![]()
__________________
Xbox 360 Mods No members have liked this post.
|
#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".
No members have liked this post.
|
#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 ![]() No members have liked this post.
Last edited by Darkimmortal; 08 Dec 2009 at 20:01. |
#7
|
||||
|
||||
does this work for vb 3.7?
No members have liked this post.
|
#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.
No members have liked this post.
|
#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 ![]() No members have liked this post.
|
#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. No members have liked this post.
Last edited by Darkimmortal; 10 Dec 2009 at 01:56. |
#11
|
||||
|
||||
Sounds very interesting, I'll try it later
Thanks
__________________
No members have liked this post.
|
#12
|
|||
|
|||
Makes me wonder why vBulletin 4 doesn't has these features build in of what this plugin has to offer.
No members have liked this post.
|
#13
|
||||
|
||||
Should there be an xml/bitfield file in there somewhere?
I'm guessing that you didn't really intend for people to have to figure out to add ?c=css and c=.js to the end of vbsc.php. ![]()
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting No members have liked this post.
|
#14
|
|||
|
|||
Originally Posted by kall
My bad, forgot to include that :P ![]()
Also I'll be releasing 0.3 shortly ![]() No members have liked this post.
|
#15
|
|||
|
|||
how long until 0.3 Darkimmortal?
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 21:30.