You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Omitting the Access-Control-Max-Age header from a preflight response leads browsers to cache that response for 5 seconds, whereas including
Access-Control-Max-Age: 0
in a preflight instructs browsers not to cache that preflight response. However, rs/cors ignores that distinction and takes a maxAge value of 0as a cue to omit the Access-Control-Max-Age header. Therefore, rs/cors prevents its users from disabling caching of preflight responses.
The text was updated successfully, but these errors were encountered:
Omitting the
Access-Control-Max-Age
header from a preflight response leads browsers to cache that response for 5 seconds, whereas includingAccess-Control-Max-Age: 0
in a preflight instructs browsers not to cache that preflight response. However, rs/cors ignores that distinction and takes a
maxAge
value of0
as a cue to omit theAccess-Control-Max-Age
header. Therefore, rs/cors prevents its users from disabling caching of preflight responses.The text was updated successfully, but these errors were encountered: