简体   繁体   中英

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 names?

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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM