Consider passing SVGs automatically through scour
ryanmcgrath opened this issue · comments
Ryan McGrath commented
https://github.com/codedread/scour
This might be useful as an optional dependency or something; most SVGs in browsers don't need even half the stuff that editors put in there.
Mitchel Cabuloy commented
This is interesting, but my knee jerk reaction is I don't want this to run every time I use the template tag.
A solution to that is to cache scour's output, but that adds complexity that I'm not sure is worth it, considering that you really should just minify your SVG beforehand.