Parallelize downloads across hostnames
We are trying to improve the application performance we are using the struts2,jsp and webservices and retriving the data from service and display response in jsp page using ajax.
This is taking approximately 15 secs my client is asking reduce this time. So we are implementing the Parallelize downloads across hostnames
How can we load the images and js files from different sub host 开发者_StackOverflownames?
Please suggest
How can we load the images and js files from different sub host names?
You use subdomains pointing to different servers.
You can, for example, configure your DNS so that, images.example.org
points to Amazon S3 while js.example.org
points to a dedicated server in Timbuktu while all the other resources are downloaded from your "main" server(s) (whatever that is).
精彩评论