News for hackers. Stuff that matters.
Re:Data URIs make CSS sprites obsolete by jeff18 on Tuesday July 06, 2010 @01:37PM (#1491672)
I believe stylesheets must be downloaded first before any further rendering can be done. Therefore you block rendering until all images have finished downloading, while a traditional external image sprite can be downloaded asynchronously.
Re:Data URIs make CSS sprites obsolete by mcav on Tuesday July 06, 2010 @02:00PM (#1491747)
This Yahoo post thinks that stylesheets don't block the browser, typically: http://developer.yahoo.net/blog/archives/2007/07/high_perfor...
Re:Data URIs make CSS sprites obsolete by jra101 on Tuesday July 06, 2010 @01:47PM (#1491708)
I imagine you could put your base64 encoded images in a separate CSS file to solve this, but then you are back up to one extra HTTP request like CSS sprites.
Re:Data URIs make CSS sprites obsolete by andrewingram on Tuesday July 06, 2010 @02:11PM (#1491790)
I was going to make this point on the OP but my comment wasn't posted (yet?)

There are ways around it (define all your background images at the end of the CSS file for example), but I think it's a bit early to be declaring data-urls the holy grail of page performance.

Re:Data URIs make CSS sprites obsolete by cheald on Tuesday July 06, 2010 @02:41PM (#1491904)
Stylesheets only block rendering if they're included after <script> tags (which is ySlow recommends that you link them prior to linking script tags!)