The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Accelerator Details »» | |||||||||||||||||||||||||||||
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
Screenshots
Supporters / CoAuthors Show Your Support
|
Comments |
#52
|
|||
|
|||
Thanks i have two problem
1 when i active this mod i can't download any files "attachments" 2 It's only for thumbs i mean is there any option to make it with other attachments i have a big Problem with attachments server load i have more then 60 user download attachments each One 20 mb and up to 40 Thats will help me alot |
#53
|
||||
|
||||
MmS1,
Do you use nginx webserver? I have no problems with full attachments (not thumbs), but this option work ONLY with nginx. With other webserver "nginx acceleration" must be disabled, see FAQ. Don't enable all mod options "just for fun", if you don't have nginx webserver. If you use nginx, but full attaches can't be downloaded, check twice absolute path to directory (see config samples in FAQ) Try to re-read FAQ and my explanations on previous page. |
#54
|
|||
|
|||
This is the config I used when I had your mod working AND vBSEO attachment rewrites going. Now from the site, everything worked. In fact, load even when down. Yet I'm not sure if it's correctly working or not.
Notice I did not add your config options as this seemed to work. Code:
server { listen 80 default; server_name www.xxxx.com xxxx.com; server_name_in_redirect on; location / { root /www/vhosts/xxxx.com/htdocs; index index.php; autoindex on; access_log off; } location ~ \.php$ { root /www/vhosts/xxxx.com/htdocs; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_script_name; include fastcgi_params; fastcgi_intercept_errors on; } location /forum/ { if (!-e $request_filename) { rewrite ^/forum/(.*)$ /forum/vbseo.php last; } } if ($request_filename ~ "\.php$" ) { rewrite ^(.*)$ /forum/vbseo.php last; } location ~* \.(swf|pdf|ico|css|js|gif|jp?g|attach|thumb|png)(\?[0-9]+)?$ { expires max; root /www/vhosts/xxx.com/htdocs; } location /status { stub_status on; access_log off; } } |
#55
|
||||
|
||||
At first glance, that can work
IMHO, there are no reasons to add "expires max". Very cheap economy, but potential problems with browser cache, if you upload new CSS for some mod and so on. |
#56
|
|||
|
|||
ok, set at 30d; ??
|
#57
|
||||
|
||||
No. Remove it at all.
|
#58
|
|||
|
|||
ok,
For those who want to test this mod with vBSEO still handling your attachments this is my working conf file nginx. This one is updated from the last one I posted and has some fixes. Keep in mind a few things. 1) In my conf where it says /thumbnails is not attachment thumbnails, I embed flv video on my site and this is where the flv thumbs go. You will not need this. 2) I placed this in the mod config area, and have both options set to YES. Code:
/forum/uploadedimages 4) My forum gets about 50,000 unique per day, 90% of all threads contain pictures and video with picture thumbnails at 400px. Code:
server { listen 80 default; server_name www.xxxx.com xxxx.com; server_name_in_redirect on; location / { root /www/vhosts/xxxx.com/htdocs; index index.php; autoindex on; access_log off; } location ~ \.php$ { root /www/vhosts/xxxx.com/htdocs; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_script_name; include fastcgi_params; fastcgi_intercept_errors on; } location /forum/ { if (!-e $request_filename) { rewrite ^/forum/(.*)$ /forum/vbseo.php last; } } if ($request_filename ~ "\.php$" ) { rewrite ^(.*)$ /forum/vbseo.php last; } location /forum/uploadedimages { root /www/vhosts/xxxx.com/htdocs; expires 24h; } location /forum/thumbnails { root /www/vhosts/xxxx.com/htdocs; expires 24h; } location ~* ^.+\.(gif|png|ico|css|zip|tgz|gz|rar|pdf|bmp|js|swf) { access_log off; expires 24h; root /www/vhosts/xxxx.com/htdocs; } location /status { stub_status on; access_log off; } } |
#59
|
|||
|
|||
Quote:
I have hostshare is that oky i mean they can install nginx 4 me or not My attachments path out forum path how can mange this mydomain.com/vb this is my forum path mydomain.com/vbatttatn this is my attachments path |
#60
|
|||
|
|||
nginx is a webserver, for this to work 100% you need to be using nginx as your webserver, your host may not just switch that for you, you will have to ask them
|
#61
|
|||
|
|||
thanks i'll ask them
and about the path My attachments path out side forum path how can mange this mydomain.com/vb this is my forum path mydomain.com/vbatttatn this is my attachments path |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|