Skip clearCache() if directory doesn't exist.