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

fix: cache GitHub API requests by full URL #65

Merged
merged 1 commit into from
Aug 27, 2021

Conversation

richardlau
Copy link
Contributor

Cache GitHub API requests based on the URL fetched and not the passed
in target.

Also extends tests to cover caching for the non-GitHub API. Update
test URLs to use domains reserved for testing [1]. Clear the cache
after every test.

[1] https://www.rfc-editor.org/rfc/rfc2606.html

Cache GitHub API requests based on the URL fetched and not the passed
in target.

Also extends tests to cover caching for the non-GitHub API. Update
test URLs to use domains reserved for testing [1]. Clear the cache
after every test.

[1] https://www.rfc-editor.org/rfc/rfc2606.html
@aalykiot aalykiot self-requested a review August 27, 2021 08:53
@richardlau richardlau merged commit ada7116 into nodeshift:main Aug 27, 2021
@richardlau richardlau deleted the network-tests branch August 27, 2021 09:34
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.

2 participants