MobileHacks
New Member
This mod is suited for medium and big boards. It reduces server load, caused by thumnails and big attachments.
what's the problem with?
what's the problem with?
- 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.
- When attachments body transfered via php, that's much more waisteful, than direct transfer of static file. Especially for big files.
- All thumbnails will have DIRECT links (served as static files). Much lower reply latency and server load.
- 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.
- That works for forum posts, blogs, albums. Everywhere!
- Make sure, this files are stored on disk, NOT in database:
- post attachments & thumbnails
- blog attachments & thumbnails
- album images & thumbnails
- Make sure, that thumbnails are in web-accessible area. If not - reconfigure your web-server first. If you own big board - then you know how to do that .
- Check manually, that you can download any .thumb file via browser.
- Import this product, and set options for you configuration.
- Be happy to reduce server count in your cluster