![]() |
Attachment Optimiser
1 Attachment(s)
DEPRECATED - This is now merged with vB4: SuperCharged
vBulletin's attachment.php can cause a mini DoS on a FastCGI setup when images are set to display inline (or even with thumbnails, if you have enough of them on one page). This mod assumes that your attachments are stored on the filesystem and are accessible via http://yourdomain.com/customattachments. This mod also assumes that your are using nginx along with FastCGI. If you are using lighttpd etc. you will need to translate the config into something that works with lighty. If you are using Apache or a similar threaded webserver, that's your problem and this is no use to you. What it does is turns this: Code:
/attachment.php?attachmentid=246&stc=1&d=1213237132 Code:
/customattachments/4/9/246.attach?.jpg To install, simply upload the attached .xml file as a plugin and add the following to your domain in nginx.conf: Code:
location /customattachments { |
nice one
reserved however the whole url system is still not suitable for non-English forums reserved |
|
Anyone using lighttpd that is able to translate this?
|
Does this also mean that due to the .jpg extension, search engine spiders will have an easier time indexing/crawling the attached images? My forum is very photo (attachment)-heavy, but I've never had any luck getting Google to index any of the attachments.
Secondly, do you plan to release something like this for 3.8? |
Quote:
Only avatars and signatures there, so I'd assume no. :( Or perhaps it is the lack of title/alt tags on the images? I'll have to look into making a rewrite so there's no need for the ? (which is probably what is stopping google from indexing the images). And it's simple enough that it might just work on 3.8 without any changes. |
thanks
|
All times are GMT. The time now is 03:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|