Opened 9 months ago

Closed 9 months ago

#35263 closed New feature (wontfix)

Add keys() and hashes() functions to Redis cache backend.

Reported by: Sapjarern Udomviriyalanon Owned by: nobody
Component: Core (Cache system) Version: dev
Severity: Normal Keywords: redis
Cc: Sapjarern Udomviriyalanon Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The native Redis support function for get keys list with pattern and function about store hashes in redis
list keys function => https://redis.io/commands/keys/
hashes function => https://redis.io/docs/data-types/hashes/
so it would be nice if Redis cache backend supports both natively as well.

Change History (1)

comment:1 by Mariusz Felisiak, 9 months ago

Keywords: redis added; cache removed
Resolution: wontfix
Status: newclosed
Summary: Add new Redis function to redis cache backendAdd keys() and hashes() functions to Redis cache backend.
Type: Cleanup/optimizationNew feature

We agreed in #33012 to keep the builtin Redis backend minimal and consistent with other backends. It looks like you should use django-redis for your use case.

Note: See TracTickets for help on using tickets.
Back to Top