Delete the cache before put request