Skip to content

perf: keep using lightweight Response object when retrieving headers, status and ok for feat-get-response-state-v24 branch#3

Closed
usualoma wants to merge 4 commits intofeat-get-response-state-v24from
feat-more-use-respose-cache
Closed

perf: keep using lightweight Response object when retrieving headers, status and ok for feat-get-response-state-v24 branch#3
usualoma wants to merge 4 commits intofeat-get-response-state-v24from
feat-more-use-respose-cache

Conversation

@usualoma
Copy link
Copy Markdown
Owner

Until now, when accessing a property, a (heavy) original Response object was created immediately, but in this PR, for frequently accessed properties, a (light) cache will continue to be used.

  • headers
  • status
  • ok

@usualoma usualoma force-pushed the feat-more-use-respose-cache branch from 6e4ac4d to 89b5838 Compare May 17, 2025 01:00
@usualoma usualoma changed the title perf: keep using lightweight Response object when retrieving headers, status and ok perf: keep using lightweight Response object when retrieving headers, status and ok for feat-get-response-state-v24 branch May 17, 2025
@usualoma usualoma closed this May 19, 2025
@usualoma usualoma deleted the feat-more-use-respose-cache branch May 19, 2025 09:43
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