Clear cache method