Options preflight

I have my webapp(frontend) on separate ec2 aws machines, every time the frontend calls the api it generates two calls eg.

Suppose I want to retrieve the registered users.
so I call a get /api/users.

However, when doing this, the browser generates two calls, one of type OPTIONS and one of GET.
I would like to somehow cache the OPTIONS calls or eliminate them and I would like to do that, using Cloudflare.

How could I do this, does anyone have any suggestions?

I tried to do it directly in NGINX, but it only cached for 10 minutes, regardless of the time informed.
I need to keep it for at least 20 days.