Delete cache object

We're introducing a change to how we store the cache. This means that it's necessary to purge the cache in both locations. I'll make a second pull request once the original method is made obsolute.