Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions session.rst
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,13 @@ It's common to use ``notice``, ``warning`` and ``error`` as the keys of the
different types of flash messages, but you can use any key that fits your
needs.

.. tip::

Accessing flash messages means that the session must be started, which
in turn will cause Symfony to mark the responses as ``private``. In general,
since flashes shall displayed only once, pages that might display flashes
cannot reasonably be cached in HTTP caches.
Copy link
Contributor

Choose a reason for hiding this comment

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

as its a tip block you are adding, what about also write that one can load such statefull flash session message async, via for ex an ux live component completely decoupled from the main response that could be stateless


Configuration
-------------

Expand Down