In theory I should be able to see if a browser supports SVG by looking at the accept header, but as far as I can tell no modern browser accurately reports image/svg+xml. Has anyone successfully implemented conditionally serving SVG using content negotiation? It feels like a bit of a mirage…
In theory I should be able to see if a browser supports SVG by
Share
Browsers are trying to minimise the size of the http headers they send as they contribute overhead to every request. There are other better ways to figure out if a browser supports SVG e.g. modernizer