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: 52
Released: 11 Jun 2010 Last Update: 22 Oct 2010 Downloads: 325
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:	1493
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

  #46  
Old 05 Dec 2010, 11:15
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Hi there. Will this work with LightSpeed?
__________________
For custom designed Windows 7 Visual Styles/Themes, please visit CreativX!
Reply With Quote
  #47  
Old 06 Dec 2010, 10:19
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Well, I installed it. Is there a clear way for me to check if it is working?

Thanks.
__________________
For custom designed Windows 7 Visual Styles/Themes, please visit CreativX!
Reply With Quote
  #48  
Old 08 Dec 2010, 06:57
sivaganeshk sivaganeshk is offline
 
Join Date: Oct 2010
Hi, How to use Expire header functions ?
Reply With Quote
  #49  
Old 11 Dec 2010, 00:26
MmS1 MmS1 is offline
 
Join Date: Nov 2008
hello i tried to install Nagns but i can't

i stuck here
/usr/local/nginx/sbin/nginx -t
[emerg]: invalid event type "rtsig" in /usr/local/nginx/conf/nginx.conf:11
configuration file /usr/local/nginx/conf/nginx.conf test failed
[email protected] [/usr]# /usr/local/nginx/sbin/nginx
[emerg]: invalid event type "rtsig" in /usr/local/nginx/conf/nginx.conf:11
Manual-Install-Nginx
http://www.vbulletin.com/forum/showt...lish-Espa%F1ol)

so can u help me
Reply With Quote
  #50  
Old 29 Dec 2010, 14:43
punchbowl punchbowl is offline
 
Join Date: Nov 2006
Do attachments have to be in a publicly available area for this to work e.g.

/srv/www/domain.com/public_html/attachments

or will it work at

/srv/www/domain.com/attachments

?
Reply With Quote
  #51  
Old 29 Dec 2010, 14:52
CMSTemplateZ CMSTemplateZ is offline
 
Join Date: Jun 2010
Good work ive got a board that is slowly growing bigger, this is good to know something like this is available.
Reply With Quote
  #52  
Old 29 Dec 2010, 15:18
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Originally Posted by punchbowl View Post
Do attachments have to be in a publicly available area for this to work e.g.
?
thumbnails should be available via www
__________________
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
  #53  
Old 31 Dec 2010, 11:54
punchbowl punchbowl is offline
 
Join Date: Nov 2006
Sorry for being stupid Vitaly but I see no separate setting for storing attachment thumbnails in one place and attachments in another? Will I have to move the attachment directory into www or am I missing something?

Am I right in saying that having attachment in www means that private attachments will be public?

Thanks
Reply With Quote
  #54  
Old 31 Dec 2010, 12:19
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
See example from second post http://www.vbulletin.org/forum/showp...04&postcount=2 , how to tune nginx. I don't understand your problem.
__________________
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
  #55  
Old 31 Dec 2010, 12:24
punchbowl punchbowl is offline
 
Join Date: Nov 2006
Sorry I'm new to nginx. I didn't understand the "internal" directive. Wow nginx just gets better and better. Cheers and thank you for your patience!
Reply With Quote
  #56  
Old 31 Dec 2010, 13:17
punchbowl punchbowl is offline
 
Join Date: Nov 2006
nope - can't get it working, when I enable I get no images loading. Disabling makes it ok.

I have attachments @ /srv/www/domain.com/public_html/attach

I have domain.com thus:


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

in admincp I have path to attachements: /attach

cdn: blank

and

Enable large downloads acceleration: ticked yes

edit: I get a 404 for http://www.domain.com/attach/9/226.thumb

Last edited by punchbowl; 31 Dec 2010 at 13:42.
Reply With Quote
  #57  
Old 01 Feb 2011, 13:55
acha3ir.net acha3ir.net is offline
 
Join Date: Nov 2009
Thank you for the excellent work
Reply With Quote
  #58  
Old 17 Mar 2011, 21:57
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
This breaks images inside quote boxes with just the cdn enabled.
Reply With Quote
  #59  
Old 17 Mar 2011, 22:01
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Please, provide more 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
  #60  
Old 19 Mar 2011, 20:44
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
When using only the cdn feature and having accel off and someone quotes an image instead of showing the image it just has a link.
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 23:17.

Layout Options | Width: Wide Color: