Skip to content

Questiion. Does expriry option gets reset when cache is served to the user? #119

@amanjaggaPracto

Description

@amanjaggaPracto

In the expire option, you can specify a time frame to delete a cache entry. I assume that time starts from when the cache entry is created but does it get reset when the request is served from the cache?

Ex
1st request -> cache created -> expires after 60 sec

After 30 sec
2nd request -> cache already there -> served from cache -> what would be the remaining time for the cache to expire

30 sec or 60 sec?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions