---
title: "Discussion on \"How to Optimize CORS Preflight Requests?\" | Hashnode"
description: "Discussion on \"How to Optimize CORS Preflight Requests?\". Cross-origin resource sharing (CORS) is a mechanism that allows web applications to access resources from other domains. However, CORS can add latency to requests, especially if the preflight request is required.\nThe preflight request is an OPTIONS r..."
url: "https://hashnode.com/posts/how-to-optimize-cors-preflight-requests/64c7e492d1141b9ca3649523"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Optimize CORS Preflight Requests?](https://aanchalfatwani.hashnode.dev/how-to-optimize-cors-preflight-requests?utm_source=hashnode&utm_medium=feed)

Cross-origin resource sharing (CORS) is a mechanism that allows web applications to access resources from other domains. However, CORS can add latency to requests, especially if the preflight request is required. The preflight request is an OPTIONS r...

Jul 31, 2023 · 6 min read · aanchalfatwani.hashnode.dev  
Read the article

-   [#cors](https://hashnode.com/tag/cors)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#preflight](https://hashnode.com/tag/preflight)
-   [#http-security-headers](https://hashnode.com/tag/http-security-headers)
-   [#cors-errors](https://hashnode.com/tag/cors-errors)

## Written by

[Aanchal](https://hashnode.com/@aanchalfatwani)

@aanchalfatwani

  
[View profile](https://hashnode.com/@aanchalfatwani)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
