What is the purpose of constantly sending HTTP OPTIONS request and how to reduce this?

Viewed 11

The fetch API in case of authenticated requests (Digest Authentication) constantly sends OPTIONS requests. It does not authenticate those requests. It only accepts 202 responses, no 401 to get those handled with Digest. But more importantly, they are just unnecessarily banging my server all the time. How can my server respond to these OPTIONS in a way that the client will remember that and not ask all the time?

0 Answers
Related