Skip to content

Conversation

@slothJain
Copy link

Description

Add support for specifying a cache_name parameter in the @ratelimit decorator and core functions, enabling the use of multiple cache aliases for rate limiting. This allows users to select which Django cache backend to use for storing rate limit data.

Changes

  • Added cache_name parameter to decorator and core functions.
  • Updated system checks to validate multiple cache configurations.
  • Improved documentation and added relevant tests.

Motivation

This change increases flexibility for projects using multiple cache backends and improves scalability for distributed environments.

Checklist

  • Tests added/updated
  • Documentation updated
  • Backward compatible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants