Skip to content

Commit 280cd5a

Browse files
[Cache] Mention Valkey is Redis
1 parent c4e1eaa commit 280cd5a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

components/cache/adapters/redis_adapter.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ to utilize a cluster of servers to provide redundancy and/or fail-over is also a
2121
adapter. Additionally, this adapter requires a compatible extension or library that implements
2222
``\Redis``, ``\RedisArray``, ``RedisCluster``, ``\Relay\Relay`` or ``\Predis``.
2323

24+
.. note::
25+
26+
This adapter also works with `Valkey`_ servers and as of Symfony 7.3, you can use the ``valkey[s]:`` schemes
27+
instead of the ``redis[s]:`` ones in your DSNs.
28+
2429
This adapter expects a `Redis`_, `RedisArray`_, `RedisCluster`_, `Relay`_ or `Predis`_ instance to be
2530
passed as the first parameter. A namespace and default cache lifetime can optionally be passed
2631
as the second and third parameters::
@@ -348,6 +353,7 @@ Supports key rotation, ensuring secure decryption with both old and new keys::
348353

349354
.. _`Data Source Name (DSN)`: https://en.wikipedia.org/wiki/Data_source_name
350355
.. _`Redis server`: https://redis.io/
356+
.. _`Valkey`: https://valkey.io/
351357
.. _`Redis`: https://github.com/phpredis/phpredis
352358
.. _`RedisArray`: https://github.com/phpredis/phpredis/blob/develop/arrays.md
353359
.. _`RedisCluster`: https://github.com/phpredis/phpredis/blob/develop/cluster.md

configuration/secrets.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ The secrets system is enabled by default and some of its behavior can be configu
311311
xsi:schemaLocation="http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd
312312
http://symfony.com/schema/dic/framework https://symfony.com/schema/dic/framework/framework-1.0.xsd"
313313
>
314-
<framework:config secret="%env(APP_SECRET)%">
314+
<framework:config>
315315
<framework:secrets
316316
vault_directory="%kernel.project_dir%/config/secrets/%kernel.environment%"
317317
local_dotenv_file="%kernel.project_dir%/.env.%kernel.environment%.local"

0 commit comments

Comments
 (0)