symfony-docs
symfony-docs copied to clipboard
Adding info about clearing cache
I'm just guessing this - please double-check!
Just reading on https://symfony.com/doc/current/security/login_link.html#configure-a-maximum-use-of-a-link that the cache is not cleared:
The cache pools are not cleared by the cache:clear command, but removing var/cache/ manually may remove the cache if the cache component is configured to store its cache in that location.
So the solution is maybe to just include the same info on this page too.
Can these cache pools be cleared with bin/console cache:pool:clear? See https://symfony.com/doc/current/cache.html#clearing-the-cache
When I'm doing cache:clear (as recommended at https://symfony.com/doc/5.4/deployment.html#d-clear-your-symfony-cache), I'm getting the login_throttling counter reset. So at https://symfony.com/doc/5.4/security.html#limiting-login-attempts it should also be explained, that the counter will be reset on every deploy.
Can somebody confirm this?
Thanks Thomas.