Added new snippet for clearing cache