I have a SOAP request I'm doing in PHP. It can take anywhere from 1-2 seconds to as much as 5 or more. This is on the slow side because the data is to be loaded and displayed on a web page. It can slow down the overall load time on the web page. I'm looking for ways to improve the performance of the SOAP request if that is feasible. I don't think it is practical to cache the data because the data is updated every minute. I have considered polling a SOAP request every minute and caching it, but to do that 24/7 might be considered hammer the 3rd-parties server.
This is in PHP in Linux. Would it improve the execution in a noticeable way if the SOAP request were done in another language such as C? Or it polling a SOAP request during expected heavy website traffic (such as the morning) every minute a better solution? Thanks!