use delete method to clear cache