The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Using a subdomain for images - improve speed?
Ive heard of people using a subdomain for images on their site because the web server apparently sees the subdomain as a different domain and therefore more concurrent connections can be achieved (as they are normally limited to 2 or 3).
This is a new concept, so I appologise if im talking out of my arse with this one, but ive heard it mentioned a few times. Can anyone shed some light on this? |
#2
|
|||
|
|||
Regardless of dns pointing, if the pointing takes you back to the same server there is no advantage if that server is already over burdened.
If you want to proxy the images out, that you can do, i would suggest nginx to proxie thru, dump all image calls to a separate image server, the rest can stay local. |
#3
|
||||
|
||||
It can speed things up for the user if they are not using too much bandwidth at a given time, and can handle the extra concurrent downloads. Tons of sites do it - but they usually also have it on a different server to handle static requests quickly.
|
#4
|
||||
|
||||
use a CDN such as Amazon S3 to serve all static files (ie. images, js, css)
the goal...
-- Make sure that the domain you use is not the same as the domain you use for your site ... you don't want them to be the same because your cookies will be associated with each static file (some cookies can be as long as 1k which will increase your time) for example, your site domain is domain.com ; you should purchase domain-file.info to serve your static files (as long as it's a different domain your ok) you can then create the following sub-domains:
I use Bucket Explorer for uploading static files to my amazon s3 account. ----------- To further decrease page display time, I recommend compressing (gzip) your js and css files. You will then have to create a plugin to show gzip version if browser is capable of displaying if not show the uncompressed version. Most modern browsers are capable of displaying compressed files. However, IE6 is known to have some issues even the SP2 which was reported to have this fixed is still buggy. http://www.browserscope.org/ will give you an idea of how a browser functions .. knowing this can help you speed up your pages other things you can do to speed up your pages...
|
#5
|
||||
|
||||
Thank you very much for your replies, especially Princeton's. I very interested in getting improved performance out of my site and this is a huge help.
|
#6
|
||||
|
||||
sumbitted the above as an article...
Improve Web Page Performance |
#7
|
||||
|
||||
Couldnt agree more, this is an area I have never ventured, and looks very interesting. Thanks
|
#8
|
||||
|
||||
I didn't mention this before but using a CDN is also good if you run multiple forums with same images. eg. icons, smilies, custom images, etc
|
#9
|
|||
|
|||
I had a separate subdomain another server for serving the images and files and I have load and processes dropped to half.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|