SVGKit/SVGKit — pull request #123 by florianreinhart (2013-11-18 07:51:18+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.