Since Mendix supports calling REST services natively, it became much easier to implement this functionality in projects. However, some tweaks got lost and are very nice to have. In this specific case, I mean the HttpClient.
In Java, I had the possibility to keep it in memory so once the initialization was done, all calls made coming next were executed very fast. Initialization can take up to 100 ms instead if instant execution of the request once initialized.
Calling the same operation 10 times, and initializing the HttpClient 10 times would make: (100ms + 10ms) X 10 = 1.1 seconds
Calling the same operation 10 times and initializing the HttpClient 1 time and keep it in cache would make: (100ms) + (10ms x 10) = 0.2 seconds.
For batch execution, this provides a great advantage.
Please provide an option for the Call REST service activity, having the option: 'Keep HttpClient in cache?'. Possibly with the option to keep it in memory for X seconds.