performance - What is the best way to handle a lot of images from a shared hosting plan? -


i have shared hosting plan , designing single page site include slideshow. browser typically limits number of simultaneous requests single domain. don't expect lot of traffic, traffic receive have fast load times. may able add unlimited subdomains, affect speed customer considering 1 polling server , subdomains point same processor? have created 2 versions of every image, 1 slideshow, , 1 larger format via ajax request, lag times still little long taste. suggestions?

before contrive bunch of subdomains maximize parallel connections, should profile page load behavior know of time being spent. there might easier , more rewarding optimizations make first.

there several tools can this, use of them:

some important factors @ cache optimization , image compression.

if you've done things, , sure want use multiple (sub)domains, recommend using content delivery network (cdn) instead of hosting static files (images) on same shared server. might consider amazon's cloudfront service. it's super easy set up, , reasonably priced.

lastly, don't carried away many (sub)domains, because each host name require separate dns lookup; find balance.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

node.js - Node - Passport Auth - Authed Post Route hangs on form submission -

Does Firefox offer AppleScript support to get URL of windows? -