Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB Accelerator Details »
vB Accelerator
Mod Version: 0.9, by Vitaly (Coder) Vitaly is offline
Developer Last Online: Jul 2014 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (3 votes - 4.67 average) Installs: 51
Released: 11 Jun 2010 Last Update: 22 Oct 2010 Downloads: 320
Not Supported Uses Plugins Re-usable Code  

ported & significantly improved vb 3.8 branch.

This mod is suited for medium and big boards. It reduces server load, caused by thumnails and big attachments. Includes significant recommendations for server tuning, to speedup pages loading.

what's the problem with?
  1. In original vB all thumbnails a downloaded via php. So, if you page contains 10-20 attached images, then each page php request will be followed by 10-20 thumbnails php requests. That's very bad.
  2. When attachments body transfered via php, that's much more waisteful, than direct transfer of static file. Especially for big files.
  3. Browser does lots of additional requests to static file, to check if modified
  4. JS/CSS not compressed
what this mod does:
  1. All thumbnails will have DIRECT links (served as static files). Much lower reply latency and server load.
  2. If you have nginx webserver, you php-fcgi will not participate in file transfer any more. It will reply with X-Accel-Redirect header. Then nginx will proceed attachment as static file.
    • No more problems with multiple downloads of 10-mb files.
    • No needs to restrict attachments and full-size images for guests and search bots.
  3. Static files are properly cached/compressed after tuning
how to install:
  1. Make sure, attachments are stored on disk, NOT in database.
  2. Make sure, that thumbnails are in web-accessible area. If not - reconfigure your web-server first.
  3. Check manually, that you can download any .thumb file via browser.
  4. !!! Tune cache/compression settings for static files (see example from next post)
  5. Import product XML & tune settings.
  6. Enjoy
This mod is developped here: http://github.com/rcdesign/vb-accelerator . Patches are welcome.

history:

0.9
- fixed path for duplicated attachments

0.8
- fixed back timestamp parameter & substitutions for XML output
- added conversion for assets.php thumbnails (in attachments manager)

0.7
- ported to vb4
- added basic CDN support for thumbnails

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	vba.png
Views:	1463
Size:	52.9 KB
ID:	118328  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Board Optimization vB Accelerator Vitaly vBulletin 3.8 Add-ons 79 24 Sep 2012 21:17
Plugin Accelerator Trigunflame vBulletin 3.5 Add-ons 259 27 Sep 2011 22:11

Comments
  #2  
Old 11 Jun 2010, 08:51
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004

Nginx config sample



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.




Apache config example


TBD . Please, help to fill.
__________________
I no longer develop for vB. Use my vb addons/code as you wish, without limits & conditions. Latest versions @ github repo.
My new forum project is Nodeca. Node.js+MongoDB. If you wish to help with coding & design - feel free to join.

Last edited by Vitaly; 11 Jun 2010 at 08:58.
Reply With Quote
  #3  
Old 11 Jun 2010, 11:41
funmasti's Avatar
funmasti funmasti is offline
 
Join Date: Aug 2009
Real name: Sandy
Thanks... anyone tried it?
__________________
My Mastiya Forum
Reply With Quote
  #4  
Old 11 Jun 2010, 12:11
gwerzal's Avatar
gwerzal gwerzal is offline
 
Join Date: Oct 2007
This looks good. thanks for sharing.
Reply With Quote
  #5  
Old 12 Jun 2010, 14:35
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Updated mod to catch XML output & timestamp issues.
__________________
I no longer develop for vB. Use my vb addons/code as you wish, without limits & conditions. Latest versions @ github repo.
My new forum project is Nodeca. Node.js+MongoDB. If you wish to help with coding & design - feel free to join.
Reply With Quote
  #6  
Old 12 Jun 2010, 19:46
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Will this work along side vbOptimize and vB4: Supercharged? Are there conflicts? Duplicated features?
Reply With Quote
  #7  
Old 12 Jun 2010, 19:54
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Real name: Corey
Originally Posted by TeknoSounds View Post
Will this work along side vbOptimize and vB4: Supercharged? Are there conflicts? Duplicated features?
vBOptimize is more of caching, vB4 supercharges is like "Store CSS As files" option but a little better. I don't see any conflicts.
Reply With Quote
  #8  
Old 13 Jun 2010, 00:25
Darkimmortal Darkimmortal is offline
 
Join Date: Apr 2009
Oh cool, this looks like an improved version of my 'Attachment Optimiser' in vB4 SuperCharged - installed
Reply With Quote
  #9  
Old 13 Jun 2010, 00:59
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Real name: Dr.osama
Thanks
installed

but i am not sour if it is working

anyone tried it?

waiting for tests
__________________
Reply With Quote
  #10  
Old 13 Jun 2010, 02:31
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Originally Posted by Darkimmortal View Post
Oh cool, this looks like an improved version of my 'Attachment Optimiser' in vB4 SuperCharged - installed
In fact, on the second page load, other feature doesn't make sence, if you set long expire for static content . You can check with firebug NET bookmark.

Optimizing the first page load is potentially interesting, but price in your case is very high - big server load and lots of possible conflicts.
__________________
I no longer develop for vB. Use my vb addons/code as you wish, without limits & conditions. Latest versions @ github repo.
My new forum project is Nodeca. Node.js+MongoDB. If you wish to help with coding & design - feel free to join.
Reply With Quote
  #11  
Old 13 Jun 2010, 02:36
kawe kawe is offline
 
Join Date: Aug 2008
This is .htaccess on Nginx ?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And about " path to attachments "
is full path like : /home/www/html/sites.com/attachment
or
just /attachment/
Reply With Quote
  #12  
Old 13 Jun 2010, 02:46
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Originally Posted by kawe View Post
This is .htaccess on Nginx ?
Nginx doesn't support .htaccess. That's pаrt of config file. Please, read nginx documentation for details.
__________________
I no longer develop for vB. Use my vb addons/code as you wish, without limits & conditions. Latest versions @ github repo.
My new forum project is Nodeca. Node.js+MongoDB. If you wish to help with coding & design - feel free to join.
Reply With Quote
  #13  
Old 13 Jun 2010, 02:58
kawe kawe is offline
 
Join Date: Aug 2008
Originally Posted by Vitaly View Post
Nginx doesn't support .htaccess. That's pаrt of config file. Please, read nginx documentation for details.
yeah i add this code to /etc/nginx/sites-enable/mydomain.com
under my vBseo config its right ?
Reply With Quote
  #14  
Old 13 Jun 2010, 03:01
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Originally Posted by TeknoSounds View Post
Will this work along side vbOptimize and vB4: Supercharged? Are there conflicts? Duplicated features?
vbOptimize do different things. It can make sence, if you have DB on separate server. Or if you setup many dirty-written mods . No conflicts. If you have local DB, then built-in query cache do most things for you.

Supercharged have some interesting ideas, but not balanced, IMHO. The same result can be acheived with much less efforts & server load

vb Accelerator - if you dont use attachments, skip it . But set "not expire" headers for static content. It really worth to do.
__________________
I no longer develop for vB. Use my vb addons/code as you wish, without limits & conditions. Latest versions @ github repo.
My new forum project is Nodeca. Node.js+MongoDB. If you wish to help with coding & design - feel free to join.
Reply With Quote
  #15  
Old 13 Jun 2010, 03:06
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Originally Posted by kawe View Post
yeah i add this code to /etc/nginx/sites-enable/mydomain.com
under my vBseo config its right ?
Gzip options can be in other place. Look there they are in your config, compare difference and fix.

Other rewrites should be BEFORE vbseo.
__________________
I no longer develop for vB. Use my vb addons/code as you wish, without limits & conditions. Latest versions @ github repo.
My new forum project is Nodeca. Node.js+MongoDB. If you wish to help with coding & design - feel free to join.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:16.

Layout Options | Width: Wide Color: