Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions en/appendices/5-3-migration-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,15 @@ Error
``Debugger.editorBasePath`` Configure value if defined. This improves
debugging workflows within containerized environments.

Http
----

- The new ``RateLimitMiddleware`` provides configurable rate limiting for your
application to protect against abuse and ensure fair usage of resources. It
supports multiple identification strategies (IP, user, route, API key),
different rate limiting algorithms (sliding window, fixed window, token bucket),
and advanced features like custom identifiers, request costs, and dynamic limits.

I18n
----

Expand Down
3 changes: 3 additions & 0 deletions en/controllers/middleware.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ CakePHP provides several middleware to handle common tasks in web applications:
* :doc:`Cake\Http\Middleware\SecurityHeadersMiddleware </security/security-headers>`
makes it possible to add security related headers like ``X-Frame-Options`` to
responses.
* :doc:`Cake\Http\Middleware\RateLimitMiddleware </controllers/middleware/rate-limit>`
provides configurable rate limiting to protect against abuse and ensure fair
usage of resources.

.. _using-middleware:

Expand Down
Loading
Loading