mixxorz / django-inline-svg

A simple SVG template tag for Django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider passing SVGs automatically through scour

ryanmcgrath opened this issue · comments

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.

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.