Content URL cache does not invalidate cache remotely

Fixed in

EPiServer.CMS.Core 11.20.6

(Or a related package)

Created

Feb 25, 2021

Updated

Apr 06, 2021

Area

CMS Core

State

Closed, Fixed and tested


Description

DefaultContentUrlCache is using IObjectInstanceCache and not ISynchronizedObjectInstanceCache. Therefore, URLs are not removed from all instances in a load-balanced setup.

Reported from Content url caching not invalidating on synchronized sites (episerver.com)

How to reproduce:

  • Set up a load-balance environment with remote events.
  • Upload an asset.
  • Render link to asset in a view.
  • Access the view from both nodes and click the link.
  • Change the URL to the asset from one of the nodes.
  • Refresh the view on the other node and click the link.