new engine clearCache() method