diff --git a/rate_limiter.rst b/rate_limiter.rst index 65a0243e5e8..5bebfd0efa3 100644 --- a/rate_limiter.rst +++ b/rate_limiter.rst @@ -363,11 +363,12 @@ the :class:`Symfony\\Component\\RateLimiter\\Reservation` object returned by the Storing Rate Limiter State -------------------------- -All rate limiter policies require to store their state(e.g. how many hits were +All rate limiter policies require to store their state (e.g. how many hits were already made in the current time window). By default, all limiters use the ``cache.rate_limiter`` cache pool created with the :doc:`Cache component `. +This means that every time you clear the cache, the rate limiter will be reset. -Use the ``cache_pool`` option to override the cache used by a specific limiter +You can use the ``cache_pool`` option to override the cache used by a specific limiter (or even :ref:`create a new cache pool ` for it): .. configuration-block::