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

Caching (+ argument) #10

Open
insyri opened this issue Sep 21, 2021 · 0 comments
Open

Caching (+ argument) #10

insyri opened this issue Sep 21, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@insyri
Copy link
Member

insyri commented Sep 21, 2021

When a user requests information [through the bot], this will be cached for 2 minutes, then disposed.

Why cache?

Caching provides a handler for repeated requests that (assumingly) gives back the same exact response, this saves API requests.

However, if a user desires a new request to the API, the user can use an argument (unset) to make a new request; this will be limited by how many a user can make of these.

@insyri insyri added the enhancement New feature or request label Sep 21, 2021
@insyri insyri added this to the Version 1.0.0 milestone Sep 21, 2021
@insyri insyri mentioned this issue Oct 4, 2021
3 tasks
@insyri insyri self-assigned this Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant