HTML & CSS
It seems to me that both the responsive design and progressive enhancement approaches rely on many (at least more than one) requests to .css files.
What do you think about it? Does it slow websites? Is there a way to circle around that problem?
I don't see why that should be the case. You can easily put all your CSS into a single stylesheet, but that might make it difficult for you to manage, and might lead to surfers having to download a lot more bytes than if they were only given styles relevant to the page(s) they visited.
Multiple requests to CSS files are unlikely to be the weak link in the chain when it comes to download speed and responsiveness/latency, unless you've gone seriously overboard with them.
But you can use one stylesheet and the @media setting... means all devices will load the sheet but not run all the styles, but you'll still be sending special calls to IE less than 9 (you'll use CC's for IE anyway). The question always seems to be about, if a browser loads a stylesheet, does it call the images right away? The answer seems to be "no".
This topic is now closed. New replies are no longer allowed.