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

Implement caching to reduce number of calls to the API endpoint #1

Open
morozgrafix opened this issue Jan 6, 2017 · 2 comments
Open
Assignees

Comments

@morozgrafix
Copy link
Owner

Since most of the time horoscopes change only once a day there is no need to hammer API with requests. I wonder if it would be possible to implement some sort of caching mechanism to reduce number of calls to the API endpoint.

One potential solution is to use NodeCache package

@morozgrafix morozgrafix self-assigned this Jan 6, 2017
@cowboysdude
Copy link

Or just set your update interval higher and have it check less frequently that way...

@morozgrafix
Copy link
Owner Author

Yes absolutely. I think it was more of a technical challenge to myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants