![]() |
|
Mod Options |
![]() |
|||||||||
vb 4.0 version here This mod is suited for medium and big boards. It reduces server load, caused by thumnails and big attachments. what's the problem with?
This mod is developped here: http://github.com/rcdesign/vb-accelerator . Patches are welcome. History 0.4 - fixed bug with PHP wagnings in server logs. 0.3 - first public release Download Now Only licensed members can download files, Click Here for more information. Supporters / CoAuthors Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Plugin Accelerator | Trigunflame | vBulletin 3.5 Add-ons | 259 | 27 Sep 2011 22:11 |
Comments |
#2
|
||||
|
||||
Faq
Q1. I don't have nginx. Will this mod work for me? Yes, partially. Enable direct thumbnail links, but disable nginx acceleration. You'll still have serious benefit, if your forum is plenty of attachments. Q2. What about lignttpd, apache and so on? They have X-Sendfile, alternative to nginx X-Accel-Redirect. I know, but:
Why not? You can give direct access for thumbnails, but disable direct access to original files. Just configure your server properly. See examples below. Q4. Thumbnails looks like files with strange extention and mime-type. Will those be ok in browser? Yes. HTML-page address those files via imagetag. So, browser show those properly, even with wrong mime and strange extention. Q5. Why don't you fix that for sure? Because that requires vB sources modification, and i hate such things. And if everyting works fine, who cares about mimes ![]() Q6. My forum has 20 users online, and I don't see difference at my 32-core server with 128Gb ram and 8 SSD raid array. You a happy man, really. Q7. Does it work with VBSEO ? If attachment rewrite is disabled - yes, it works. And check, that attachments path is separated in vbseo rewrite rules in webserver config. I use vbseo in this mode with no problems. Sorry, no plans now to make better integration with vbseo. But code is reuseable, or you can send your patches ![]() Server configuration examples let's say, whe have the following folders structure: /uploads /uploads/blogs/* <- blog attachments & thumbnails /uploads/posts/* <- forum attachments & thumbnails /uploads/albums/* <- album images /uploads/al_thumbs/* <- album previews So, we have to setup direct access for thumbtails, but protect original files. Nginx # globally disable external access, but enable for X-Accel-Redirect location /uploads { internal; } # enable direct access to blogs & posts thumbnails, but nothing else! location ~* /uploads/(.*)\.thumb$ { } # enable direct access to album thumbnails location /uploads/al_thumbs/ { } Apache/Lighttpd TBD. You are welcome to share your one ![]() No members have liked this post.
Last edited by Vitaly; 21 May 2009 at 23:55. |
#3
|
||||
|
||||
Gracias Voy a probarlo ahora mismo .
No members have liked this post.
|
#4
|
||||
|
||||
Well, it works! Thank you!
No members have liked this post.
|
#5
|
|||
|
|||
is this a good option for small forums?
No members have liked this post.
|
#6
|
||||
|
||||
In apache httpd.conf, I know you can use:
__________________
Custom HTTP Error Pages No members have liked this post.
|
#7
|
|||
|
|||
what is this nginx ?i have centos OS and apache .. will this increase performance on that?
No members have liked this post.
|
#8
|
||||
|
||||
Everything is relative in this life
![]() But nobody prohibit you to try and compare if server load changes ![]()
Originally Posted by JamesAB
Yes. Exactly. But in fact that's not required. My rule is simple: the less customisations - the less possible mistakes in the future ![]()
![]() No members have liked this post.
|
#9
|
||||
|
||||
Originally Posted by lazyindian
Yes. Nginx/lighttpd/lightsphere/zeus + php-fcgi will give you serious benefits over apache + mod_php on burst loads.![]()
In fact, that should be done before any futher vb optimizations. Maybe I'm a bit categoric, but in my opinion apache+mod_php system is absolutely inpredictable at big loads. Server optimisation should be done prior to any scripts optimization. That's essential. No members have liked this post.
|
#10
|
||||
|
||||
I don't have an uploads folder so I don't know the paths
Path to etc How do I find this out?
__________________
Thanks for your help J ![]() No members have liked this post.
|
#11
|
||||
|
||||
ACP -> Attachments -> Storage type
ACP -> User Albums -> Storage type You'd better look to vB documentation about details. That's VERY CPU/Disk intencive operation, and you have to backup your board. No members have liked this post.
|
#12
|
||||
|
||||
thanks
Originally Posted by Vitaly
yip aware o that,ty ![]()
![]()
__________________
Thanks for your help J ![]() No members have liked this post.
|
#13
|
|||
|
|||
Anyone have any code to make the thumbnails accessible in LITGHTPD ?
No members have liked this post.
|
#14
|
|||
|
|||
Warning: Invalid argument supplied for foreach() in [path]/includes/class_postbit.php(265) : eval()'d code on line 43
ERROR No members have liked this post.
|
#15
|
||||
|
||||
relaxiha,
1. Which php version? 2. Fatal error or warning message in webserver log? 3. At which page? http://forum.rcdesign.ru/f14/ Seems to work. Go to any topic with attachments and see direct links for preview sources. No members have liked this post.
Last edited by Vitaly; 09 Mar 2009 at 08:42. |
![]() |
«
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 11:47.