Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Internal caching options #53

Merged
merged 3 commits into from
Nov 17, 2021
Merged

feat: Internal caching options #53

merged 3 commits into from
Nov 17, 2021

Conversation

csuvajit
Copy link
Contributor

@csuvajit csuvajit commented Nov 17, 2021

Enable caching

const client = new Client({ keys: [], cache: true });

Disable caching (defaults to false)

const client = new Client({ keys: [], cache: false });

@csuvajit csuvajit changed the title feat: cache store with ttl option feat: Internal caching Nov 17, 2021
@csuvajit csuvajit marked this pull request as ready for review November 17, 2021 16:21
@csuvajit csuvajit changed the title feat: Internal caching feat: Internal caching options Nov 17, 2021
@csuvajit csuvajit merged commit 30ea324 into clashperk:master Nov 17, 2021
@csuvajit csuvajit deleted the feat/cache branch November 17, 2021 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant