VBsupport перешел с домена .ORG на родной .RU
Ура!
Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей
Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже: Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота. Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
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
4. !!! Tune cache/compression settings for static files (see example from next post)
может кто то объяснить ?
AleX
Гость
Posts: n/a
С РидМи:
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