Flash messages in Symfony projects give feedback to website users after an action is performed. They usually only show for one page load after the action is triggered.
Unfortunately, when caching is turned on my messages fail to appear and only the cached version of the page is returned.
In one instance a version of a page with a message was cached, meaning that the message was displayed to everyone.
Is it possible to make the cache aware of the flash messages?