API calls are 3 to 5 times slower via cloudflare

Our api is proxied via cloudflare, I did some testing with insomnia to compare GET request response time, here are the results :

making 30 GET requests on the same endpoint and calculating the average:

endpoint 1: w/ cloudflare: 300ms, without: 100ms,

endpoint 2: w/ cloudflare: 698ms, without: 130ms

Can anyone help us improve this gigantic difference ?

This topic was automatically closed after 30 days. New replies are no longer allowed.