Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Feature Request: Add cacheExpireTime to invalidation data store  #54

@jwarykowski

Description

@jwarykowski

Hi, before I raise a PR I would love to add the following possible improvements:

  1. Add an isExpired helper to return a boolean as to whether TTL has passed for record.
cache.client.isExpired(cache.client.identity(record)) => true | false
  1. Add cacheExpireTime to the invalidation data store so we can see this next to the cacheTime of the record as defined below:

Screen Shot 2022-06-25 at 2 13 08 pm

Do you see any implications with adding these improvements?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions