Implemented the clearCache method to clear FOF's cache