add method for invalidating caches in CachingSupplierRegistry