4 ms·
Why? It's not including the images in the data URI, just the SVG. That should act identically to downloading the SVG as a separate file (minus the extra HTTP re
by mistercow 14y ago
Why? It's not including the images in the data URI, just the SVG. That should act identically to downloading the SVG as a separate file (minus the extra HTTP request), unless I'm unaware of some very dumb quirk.
- estelleweyl 14y agoincluding the data uri for the svg only makes sense. to include the data uri for all the images would be the same weight as downloading all the images plus about 10%. The method at this link: http://estelle.github.io/clowncar/bgonly.html http://estelle.github.io/clowncar/bgonly.html only does two http requests, the svg and the image used. We can bring that down to 1 by using data URI for the svg logic only.