Model Level TTL for Identity cache

Open
#539 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
ruby
Domain
backend

Research direction

Start by reviewing IdentityCache's cache configuration and its Active Record model integration to determine whether cache_options already exists. Clarify how a model-level TTL should interact with the global setting and define the expected behavior. Done means the requested model-level configuration is specified and verified consistently.

Written by the indexing model from the issue text.

Description

Can we set the model level TTL instead of globally setting it in identity cache gem?.

Do we have any cache_options?

Dominant language
Ruby
Stars
2k
Forks
174
Avg merge
13m
Merged PRs (30d)
3

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 Shopify/identity_cache

All issues in Shopify/identity_cache

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.