CacheEvictionPolicy should warn about cacheKeys

Found in

EPiServer.CMS.Core 10.0.1

Fixed in

EPiServer.CMS.Core 11.15.1

Created

Feb 24, 2020

Updated

May 15, 2020

Area

CMS Core

State

Closed, Fixed and tested


Description

More than once, that some developers - even very experienced ones - use a CacheEvictionPolicy with cacheKeys that do not exist in cache. So, the cache is not being inserted properly.

The xml documentation for CacheEvictionPolicy should warn about this.