This commits make sure that CaffeineCache handles consistently the contract of LoadingCache. Closes gh-25173