Skip to content

Commit

Permalink
Merge pull request #2987 from bolt/enhancement/caching-services
Browse files Browse the repository at this point in the history
Add caching decorated services
  • Loading branch information
I-Valchev authored Dec 1, 2021
2 parents f027a55 + 28b1e69 commit cabeebb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions yaml-migrations/m_2021-11-22-services.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# Adding the new services for Bolt 5.1.0
# See: https://github.com/bolt/core/pull/2980
file: services.yaml
since: 5.1.0

add:
services:
Bolt\Cache\RelatedOptionsUtilityCacher:
decorates: Bolt\Utils\RelatedOptionsUtility
Bolt\Cache\CanonicalCacher:
decorates: Bolt\Canonical
Bolt\Cache\SelectOptionsCacher:
decorates: Bolt\Twig\FieldExtension
Bolt\Cache\ContentToArrayCacher:
decorates: Bolt\Twig\JsonExtension

0 comments on commit cabeebb

Please sign in to comment.