: An issue might be DNS or keep-alive -- that is, the browser already has the IP address for your server and has a connection open to it, whereas it has to resolve the CDN's server's name
An issue might be DNS or keep-alive -- that is, the browser already has the IP address for your server and has a connection open to it, whereas it has to resolve the CDN's server's name and then open a new connection there, and one of those or both constitute the delay you're seeing.
Spriting, although still a good idea, wouldn't help those problems. Indeed, no solution comes to mind. The only comfort is that half-second delay wouldn't get much longer if you had a thousand images (and CSS files and JS files and whatever other static files you needed) and wouldn't put any more stress on your origin server if a thousand more users hit it.
More posts by @Shelton105
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.