Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Catalog content provider doubles cache data in certain scenarios

Found in

EPiServer.Commerce 8.9.0

Fixed in

EPiServer.Commerce 13.17.0

(Or a related package)

Created

Mar 14, 2020

Updated

Mar 30, 2020

Area

Core

State

Closed, Fixed and tested


Description

CatalogContentProvider uses the default content cache, but it also uses a cache in a lower layer, in CatalogContentLoader. This is because of a layering issue, where other parts that are technically in the layer below the cache benefit from caching.

This double caching works well in the in-memory scenario, because there are only two cache keys pointing to the same object instance. However other implementations, like a serializing cache, store double data.