vendredi 11 septembre 2015

Optimize delivery of the same SVG image on a web page?

I have a SVG image that is typically displayed numerous times on a single page. I use the exact same tag each time I include the image.

<object width="50px" height="50px" data="/img/uimg0.svg" type="image/svg+xml">

For some reason web browsers are using multiple requests to repeatedly get the exact same SVG image file. Can this be coded differently so the data is downloaded once and reused?

enter image description here



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire