Skip to content

move make_key function to BaseCache and remove namespacing logic from Clients #767

@2ykwang

Description

@2ykwang

django-redis the make_key implementation across individual clients (such as ShardClient),

leading to the following problems:

  • make_key should be defined in RedisCache (which inherits from BaseCache) and used consistently for all cache operations.
  • Client classes should not handle key namespacing logic.

How about handling make key name in RedisCache class

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions