2 ms·
That would mean the browser couldn't start downloading any image before it had downloaded and parsed the stylesheet. Or that it would download all images and th
by jacobr 14y ago
That would mean the browser couldn't start downloading any image before it had downloaded and parsed the stylesheet. Or that it would download all images and the entire point of saving bandwidth is lost.
- Kilimanjaro 14y agoDownloading all images is out of the question. You use the most commonly used image as default and when the stylesheet is done you download whatever img is needed. Or, you use the newly minted 'defer' (I just came up with that) attribute to let the browser know not to download anything until the stylesheet is parsed. <img src='myhugeretinapic.png' defer>