TagAware cache is not profiled in the profiler #34810
Labels
Bug
Cache
Help wanted
Issues and PRs which are looking for volunteers to complete them.
Status: Needs Review
Symfony version(s) affected: 4.4.1 (probably also 3.4 and 5.0)
Description
When using a cache adapter with
tags: true
, and typehinting this adapter withTagAwareCacheInterface
instead of theCacheItemPoolInterface
(PSR-6), and running on env=dev or env=test, theTraceableAdapter
is not used, but instead theSymfony\Component\Cache\Adapter\TagAwareAdapter
is injected.Because of this, the subsequent cache changes are not profiled.
How to reproduce
Possible Solution
Additional context
See also #34800
The text was updated successfully, but these errors were encountered: