Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Performance and Caching

You can setup various caching options to improve the performance for resolving WSDL and authentication tokens.

First of all, you can setup the internal SoapClient (PHP) caching values.

Example 811. WSDL cache options


The [PHP CONSTANT] can be one of the following values:

  • WSDL_CACHE_DISC: enabled disc caching

  • WSDL_CACHE_MEMORY: enabled memory caching

  • WSDL_CACHE_BOTH: enabled disc and memory caching

  • WSDL_CACHE_NONE: disabled both caching

If you also want to cache the result for calls to the SecuritTokenServer you can setup a Zend_Cache instance and pass it to the setCache().

Example 812. SecurityTokenServer cache option

Zend_Cache::factory('Core', ...);

Zend Framework