/
readme.txt
49 lines (39 loc) · 1.12 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Description:
------------
vBulletin addon to make direct thumbnail links and fast attachments download via nginx.
Significantly reduce server load.
Installation
------------
1. Import XML file
2. Change addon settings to fit your site
3. Update webserver config
- add rewrites
- !!! add cache expires time, to remove 304 requests
- add gzip for CSS/JS
Nginx config sample:
====
# Modified gzip settings: added CSS/JS,
# but completely disabled for broken browsers.
gzip_types text/plain text/css application/x-javascript text/xml text/javascript;
gzip_disable "MSIE [1-6].(?!.*SV1)";
# globally disable external access to attachments, but enable for X-Accel-Redirect
location /uploads {
internal;
}
# enable thumbnails direct access, but nothing else!
location ~* /uploads/(.*)\.thumb$ {
expires 24h;
}
# Expires for static files
location /images/ {
expires 24h;
}
location /clientscript/ {
expires 24h;
}
location /custom { # All at once: profile pics, avatars, group images
expires 24h;
}
====
Released at vborg:
http://www.vbulletin.org/forum/misc.php?do=producthelp&pid=vb_accelerator