CORS
Access-Control-Max-Age
Specifies how long the results of a CORS preflight request can be cached.
Syntax
Access-Control-Max-Age: <delta-seconds>
Example
Access-Control-Max-Age: 3600
Description
The Access-Control-Max-Age header indicates how many seconds the browser can cache the result of a CORS preflight request. During this period, the browser does not need to send another preflight for the same resource.
Setting a reasonable value (e.g. 3600 seconds) reduces unnecessary preflight requests and improves performance for API-heavy applications. Some browsers have a maximum limit they enforce regardless of this value.
Check if your website sends this header correctly
Check your headers →