Huge speed marging between ip and domain

There is a huge speed difference while accessing the site via domain and ip which is that ip will deliver the response within 60ms while domain takes around 500ms.
I’m using Amazon EC2 to host the application and a Self-signed SSL + Cloudflare SSL full mode.
Any help with this? highly appreciated

Is it possible to post a url?

My first guess is this is a client side issue - i.e. your browser.

actually, it’s an API, which was built with the cms called Strapi. So all tests are done with Postman. and yeah browser is also showing the same time at the Network tab.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.