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

Add caching #1

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add caching #1

wants to merge 1 commit into from

Conversation

Kesuaheli
Copy link
Member

This branch adds caching to drastically reduce request time.
By saving already request and decoded json files, this reduced the time from ~90ms to ~1.5µs in my first test. See example at https://github.com/Kesuaheli/go-manifest/tree/cache/examples/with_cache.

@Kesuaheli Kesuaheli marked this pull request as draft November 9, 2024 14:18
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