persistence icon indicating copy to clipboard operation
persistence copied to clipboard

Metadata caching isn't compatible with prefixed cache keys

Open adambalint-srg opened this issue 2 years ago • 4 comments

The metadata cache generation, and cache saving didn't work if prefixed cache system is used.

The old functionality checked if the cache item's key is in $classNames array. But this array generated only with the getCacheKey function, and because of this the items of this array doesn't contain the global prefix of the cache keys.

With the fixed solution we're using only the prefixed keys, and cache item will be saved.

adambalint-srg avatar Sep 27 '23 14:09 adambalint-srg