How to cache php soapclient responses?

salmiimad

New Member
I know that you can cache the WSDL but is there a way to cache the soap responses through configuration of the php soapclient? Obviously, we could "cache" ourselves by constructing some tables in a database and running a cron. This will take much more effort and I am wondering if there is a way to specify caching abilities of the explicit SOAP data being returned from soap server to client. Similar to how a browser can cache various data based on headers ? Do I need to have the soap server configured properly or is this something I can do strictly on the soapclient. Our soap server is a 3rd party vendor which we have little control over so I am hoping to keep the solution to soapclient side if possible. Open to all suggestions/alternatives (aside from the one I mentioned) if this does not exist.
 
Back
Top