News for hackers. Stuff that matters.
Re:Data URIs make CSS sprites obsolete by pmjordan on Tuesday July 06, 2010 @12:22PM (#1491443)
The other overhead you have to pay for every time: The data has to be base64 decoded before it can be used.

Compared to decompressing the PNG or JPEG data, decoding base64 is essentially free. It will therefore also not matter much at what stage it's cached.

Re:Data URIs make CSS sprites obsolete by jws on Tuesday July 06, 2010 @05:46PM (#1492504)
Maybe. The JPEG decompression has been mercilessly optimized for decades.

The oddball base64 URI decode might have been done by the team's crappy coder that no one trusts, but you can write decent test cases for base64 decoding, so you can burn his hours for a few weeks without him doing any lasting harm to the code base.