Closed davoam closed 4 years ago
@arkon I don't know how good is this solution, but I forked project and change this line to this
const svgUrl = (resolveSVGUrl
? this.getAbsoluteUrl(url)
: url).replace(/#.+$/, '');
Please let me know your opinion. If it is ok, I'll create a PR.
So far it works well in our project and sprite file requested only once
A PR would be great!
Hi! It looks like caching of svg symbols does not work. I use the following code
My expectation is that it will first cache sprite file
/assets/images/icons-sprite/svg-symbols.svg
and then take svg from it, but instead it does request for each differenticon
value.Is it possible to configure component in such a way to load sprite file only once?