форум vBSupport.ru > vBulletin > vBulletin 4.0.x-4.1.х > Хаки, моды и скрипты 4.0.x-4.1.х
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
AleX
Гость
Default vB Accelerator 0.8

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.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
Attached Files
File Type: xml product-vb_accelerator.xml (11.0 KB, 22 views)
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
zahareevici
Простоузер
Default
0

Quote:
Originally Posted by AleX View Post
4. !!! Tune cache/compression settings for static files (see example from next post)
может кто то объяснить ?
 
 
AleX
Гость
Default

С РидМи:
Quote:
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;
}
====
 


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




All times are GMT +4. The time now is 10:14 AM.


Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.