Bugfixed: forgot to add logic for deleting cache.