I have my WordPress website is running on digital ocean server with NGINX web server and an app server running on another digital ocean server with NGINX web server. An app server is where my rest api is running. In my api I’m retrieving some data from WordPress rest api according to requests. While testing my api performance my api response is too much for route in which I’m fetching data from wordpress rest api. I’m using siege for performance testing here :
How can optimize my api for better response. On which side I have to make change either on my wordpress site or app server side.?
Read more here: Response time of wp rest api is too much