symfony-docs icon indicating copy to clipboard operation
symfony-docs copied to clipboard

Adding info about clearing cache

Open ThomasLandauer opened this issue 3 years ago • 3 comments

I'm just guessing this - please double-check!

ThomasLandauer avatar Aug 09 '22 21:08 ThomasLandauer

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.

ThomasLandauer avatar Aug 09 '22 22:08 ThomasLandauer

Can these cache pools be cleared with bin/console cache:pool:clear? See https://symfony.com/doc/current/cache.html#clearing-the-cache

alexislefebvre avatar Aug 12 '22 11:08 alexislefebvre

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?

ThomasLandauer avatar Aug 15 '22 16:08 ThomasLandauer

Thanks Thomas.

javiereguiluz avatar Oct 18 '22 08:10 javiereguiluz