Added a deleteCache() method to the ComponentCache class