Skip to content
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
9 changes: 9 additions & 0 deletions components/cache/cache_pools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,15 @@ helper allows creating a connection to a Redis server using a DSN configuration:

See the method's docblock for more options.

.. caution::

Redis connections don't support login + password credentials, but just a
password. This can produce undesired effects when the password contains a
``:`` character (e.g. ``foo:bar`` password would be wrongly parsed as ``foo``
login + ``bar`` password). The solution is to add a fake login to the
connection DSN. Instead of ``'redis://foo:bar@localhost'``, use
``'redis://__ignore_this__:foo:bar@localhost'``
Copy link
Member

@xabbuh xabbuh Apr 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing trailing dot


PDO & Doctrine DBAL Cache Adapter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down