I use Laravel rate limit (throttle). I wonder where it stores throttle data and how I can change the default storage system to MySQL/Mariadb or Redis?
Asked
Active
Viewed 1,496 times
1 Answers
8
Laravel uses its cache service to store throttle data. The cache configuration is located at config/cache.php
.
You can change your default cache driver to "redis"
or "database"
(default is "file"
). Take a look at its documentation for full instructions: https://laravel.com/docs/master/cache

Hafez Divandari
- 8,381
- 4
- 46
- 63