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

[Feature Addition]Hits Cache #112

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

[Feature Addition]Hits Cache #112

wants to merge 8 commits into from

Conversation

LRagji
Copy link

@LRagji LRagji commented Dec 30, 2019

Added a new dimension for cache content expiry which evicts content based on number of hits.
Simply put every fetch call adds time to the expiry of the content, cause of which that content stays longer time in the cache compared to other.

  • Designed it as a wrapper
  • Test cases are coverage is not impacted.
  • Fixed npm audit dependencies
  • Version bumped to 0.3.0

Thanks
Laukik

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.

1 participant