Does Firefox support http://www.w3.org/TR/cors/#preflight-result-cache and if yes:
Mozilla doesn't give much information, but it looks like it is cached, but that cache doesn't have a nice interface for clearing it. (https://bugzilla.mozilla.org/show_bug.cgi?id=803438 shows talking about changing the format of the cache list, so it must exist!)
Having said that, if you have control over the server, you can specify Access-Control-Max-Age to force a maximum lifespan. See https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS.
Also this answer to a related question says that Google Chrome limits the cache to 5 minutes: https://stackoverflow.com/a/12021982/1180785.
Update: Mozilla has a limit of 24 hours: http://monsur.hossa.in/2012/09/07/thoughts-on-the-cors-preflight-cache.html (the line number he links to is out-of-date; it's 844 now). Also looking through the code he references, it looks like it will be cleared when the browser closes, but there is no other way to clear it. I could be mistaken though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With