If I want to guard my api with a bearer token, is it better to use the cloudflare access or do the c

If I want to guard my api with a bearer token, is it better to use the cloudflare access or do the check in my middleware?

I was reading that cache api doesn't work behind cloudflare access, any other downsides? what about performance?
Was this page helpful?