fix caching for SVGs