Added deleteCache method for deleting cache