Skip to content

[Cache] Make tag aware config examples consistent #20666

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,7 @@ to enable this feature. This could be added by using the following configuration
pools:
my_cache_pool:
adapter: cache.adapter.redis_tag_aware
tags: true

.. code-block:: xml

Expand All @@ -619,7 +620,7 @@ to enable this feature. This could be added by using the following configuration
<framework:config>
<framework:cache>
<framework:pool name="my_cache_pool"
adapter="cache.adapter.redis"
adapter="cache.adapter.redis_tag_aware"
tags="true"
/>
</framework:cache>
Expand All @@ -635,7 +636,7 @@ to enable this feature. This could be added by using the following configuration
$framework->cache()
->pool('my_cache_pool')
->tags(true)
->adapters(['cache.adapter.redis'])
->adapters(['cache.adapter.redis_tag_aware'])
;
};

Expand Down