Back to vBulletin 4.x Add-ons

vB Accelerator
Mod Version: 0.9, by Vitaly

vB Version: 4.0.x Rating: (3 votes - 4.67 average) Installs: 53
Released: 11 Jun 2010 Last Update: 22 Oct 2010 Downloads: 338
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 http://nginx.net/ 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: https://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

File Type: %1$s product-vb_accelerator.xml (12.7 KB, 257 downloads)

Screenshots

Click image for larger version
Name:	vba.png
Views:	1530
Size:	52.9 KB
ID:	118328  

Similar Mods

Board Optimization vB Accelerator vBulletin 3.8 Add-ons
Plugin Accelerator vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024