On a page load, I'm consistently requesting data from the same API. Is there any way to keep a cURL connection alive across multiple page loads to reduce handshake time? I know you can make multiple cURL requests with keep-alive headers on the same PHP process easily, but I want a connection to stay alive for say a set amount of time rather than when the process is finished.
It seems like I'd need some sort of Daemon plugin to do this. I'm very open to alternatives solutions. It doesn't have to be cURL. I've been searching and have had no luck whatsoever.
Thanks!