Data URI scheme

Oh, looks like it's possible to embed small background images and other whatnot directly into the CSS url() file references. This might be used to base64-encode some pack of 2kbyte gifs or something similar, reducing the http request chaining. INHO it's more sane to use one gif with all required images (as they're small it's possible to stack them to one image), and then pose offsets via css (JQuery-UI did that for the icons quite nicely).

No comments: