SVGKit/SVGKit — pull request #117 by florianreinhart (2013-10-18 16:26:56+00:00)
Title: Clear SVGKImage cache when app enters background.

I have added code to clear the SVGKImage cache when the app enters background or receives a memory warning. This is useful because an app that consumes less memory, is less likely to be purged from memory while in background.

You could also use NSCache to cache images instead of NSMutableDictionary, which will automatically remove cached objects.