Created clearCache function for dev