Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291919

ConfigFactory static cache is not updated when cache tags are invalidated

$
0
0

The ConfigFactory class has a simple static cache that keeps track of the Config objects that it handles. This static cache does not have awareness of the cacheability metadata of the items it holds. When for example some of its items have their cache tags invalidated these are not removed from the cache, and the ConfigFactory will return stale items.

We can fix this by replacing the simple static cache with a @cache.static memory backend.


Viewing all articles
Browse latest Browse all 291919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>