Skip to main content

CORS_MAX_AGE

Constant CORS_MAX_AGE 

Source
pub const CORS_MAX_AGE: Duration;
Expand description

How long a browser may cache a preflight answer before asking again.

A day, which is what the reference PDS sets. The answer never varies by caller, so there is nothing for a shorter cache to pick up sooner.