Currently the User Agent + IP address of the request is used to generate the rate-limiting key. This can end up being very long because of the User Agent string, thus taking up more space in Redis.
Hashing and base64-encoding the User Agent part of the key would solve this
Currently the User Agent + IP address of the request is used to generate the rate-limiting key. This can end up being very long because of the User Agent string, thus taking up more space in Redis.
Hashing and base64-encoding the User Agent part of the key would solve this