I have a website built on the top of magento 2, the problem is when I go to any of the catalog pages, the html takes significant time to load for the first time, as shown in the following screenshot:
when I load the page for the second time the load time drop significantly
I've gone the webserver (nginx) setup and configurations and made sure it is not causing this.
Also, I've checked the database and made sure there is no queries that is taking that much time while the html page is loading.
Moreover, I've gone through the servers' resources and nothing being maxed out during the load time (CPU & RAM)
What does cause this issue? is it something within magento itself?