microsoft / microsoft/react-native-windows
Implement HTTP CORS preflight cache
Open
@JunielKatarn is already working on this.
Since Apr 2, 2022.
Area: Networking
enhancement
Workstream: Component Parity
- Dominant language
- C++
- Stars
- 17.3k
- Forks
- 1.2k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 33
Description
Summary
Follow-up of #9537.
See https://fetch.spec.whatwg.org/#cors-preflight-cache
Cross-Origin resource sharing requests can use a cache of preflights (OPTIONS requests that fetch validation headers) to reduce the network traffic when communicating recurrently with the same validated origins.
Motivation
The current Origin Policy implementation lacks any caching mechanism impacting both the network traffic and client performance.
Basic Example
No response
Open Questions
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.