cache SVG documents in memory