added clearCache Method to renderer