There is no need to decorate the cache_tags.invalidator service

Created on 5 April 2025, about 1 month ago

The cache_tags.invalidator service is a service collector. It means the service collects services tagged with a particular tag, which are then invoked when tags are invalidated.

As such, there is no need to decorate the cache_tags.invalidator service: It is sufficient to create a service tagged with cache_tags_invalidator. Its invalidateTags() method will be called when cache tags are invalidated.

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024