Skip to content

fix: return response data for cache hits#62

Merged
richardlau merged 1 commit intonodeshift:mainfrom
richardlau:cache
Aug 24, 2021
Merged

fix: return response data for cache hits#62
richardlau merged 1 commit intonodeshift:mainfrom
richardlau:cache

Conversation

@richardlau
Copy link
Copy Markdown
Member

Return only the response data on cache hits for consistency with
non-cache hits.

Return only the response data on cache hits for consistency with
non-cache hits.
@richardlau richardlau requested a review from a team August 24, 2021 11:12
@aalykiot
Copy link
Copy Markdown
Member

@richardlau so basically the cache mechanism that I introduced didn't really work all this time 😅

@richardlau
Copy link
Copy Markdown
Member Author

@richardlau so basically the cache mechanism that I introduced didn't really work all this time 😅

Seems that way... I guess previously we didn't have a code path that tried to get the same URL as a previous fetchGithub.

@richardlau richardlau merged commit 4b8f540 into nodeshift:main Aug 24, 2021
@richardlau richardlau deleted the cache branch August 24, 2021 11:25
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.

3 participants