My understanding is Flexmonster calls customizeAPIRequest just before the request is sent to the server.
Is there something equivalent when Flexmonster receives a response from the server?
The reason is we want to know how long it takes for FM API calls to make a return trip. So that we can isolate the bottleneck responsible for the application to slow down.
Is there some kind of tracing/logging in Flexmonster? That might be an quick solution.
Thank you for raising this support ticket.
We suggest checking out the following JSFiddle: https://jsfiddle.net/flexmonster/hpmdzo1j/. It features the “proxy” function responsible for receiving requests and returning responses from Flexmonster. It uses simple Ajax calls to reach the server. You can add any desired logic within this function. For example, the mentioned JSFiddle displays time in milliseconds spent on each request.
Alternatively, use the Network tab of your browser developer tools to get detailed insights about the time spent on each request made by Flexmonster.
Please let us know if it helps.
Feel free to contact us if additional questions arise.