set expiration date of individual items

Open
#124 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python, redis
Domain
api, backend

Research direction

No file or test is named. Start by tracing dogpile.cache's public cache API and backend expiration behavior, then compare the requested per-item TTL with the existing interface. Done means an individual cached item can receive an expiration in seconds, with coverage for the supported behavior.

Written by the indexing model from the issue text.

Description

feature

Migrated issue, originally created by Dave Reeves ()

I'm coming from redis-py where set("author","Mike",ex=60) would set the ttl to 60 seconds. How do I achieve this behaviour with dogpile?

Dominant language
Python
Stars
299
Forks
50
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sqlalchemy/dogpile.cache

All issues in sqlalchemy/dogpile.cache

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.