Basically the question is in the title.
Many people have a question about how to create a data URI and problems with it.
My question is: why use a data URI?
What are the advantages:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO 9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />
Things to do:
<img src="dot.png" alt="Red dot" />
I understand that on the server side there is (possibly) less overhead, but what are the advantages / disadvantages of using real data URIs?
html browser client data-uri
Neal Jul 25 '11 at 16:29 2011-07-25 16:29
source share