Skip to content

fix: cache GitHub API requests by full URL#65

Merged
richardlau merged 1 commit intonodeshift:mainfrom
richardlau:network-tests
Aug 27, 2021
Merged

fix: cache GitHub API requests by full URL#65
richardlau merged 1 commit intonodeshift:mainfrom
richardlau:network-tests

Conversation

@richardlau
Copy link
Copy Markdown
Member

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