我使用Laravel速率限制(油门)。我想知道它在哪里存储节流数据,如何将默认存储系统更改为MySQL / Mariadb或Redis?
Laravel使用其cache系统存储油门数据。缓存配置位于config/cache.php。
config/cache.php
如果需要,您可以将默认的缓存驱动程序更改为"redis"或"database"(默认为"file")。
"redis"
"database"
"file"