I didnt move attachment.php to the subdomain.
I simply put all the attachments inside the subdomain, and linked that subdomain to a certain IP. Then installed lightttpd to that one IP address. (lightttpd can also read from particular folders if setup correctly.)
Like i said, i dunno if this works as intended, but it speeded up Attachments immensly and dropped load due to the number of requests my site gets for the attachments.
|