diff options
author | Dmitry Stogov <dmitry@php.net> | 2006-04-19 10:48:54 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2006-04-19 10:48:54 +0000 |
commit | 68906dbe62b438e4d96d9b602ac35861dcb88637 (patch) | |
tree | 96473e6b5bfb76e2af113f98a2f3a005eff017bf /ext/pdo_mysql/mysql_statement.c | |
parent | 9ea8d8dbf61e87291f028ddec65a03d991ba6a22 (diff) | |
download | php-git-68906dbe62b438e4d96d9b602ac35861dcb88637.tar.gz |
Cleaned up Andrei's patch for caching WSDL in process memory, added TTL and LIMIT for memory cache.
Memory cache is disblead by fefault because it is experemental and isn't tested enough. It can be enabled whit configuartion directive "soap.wsdl_cache = WSDL_CACHE_MEMORY" or "soap.wsdl_cache = WSDL_CACHE_BOTH" or derectly in SoapClent/SoapServer constructor: $ws = new SoapClient($wsdl, array("cache_wsdl"=>WSDL_CACHE_BOTH))
Disk and memory caches use the same TTL value - "soap.wsdl_cache_ttl".
Configuration directive "soap.wsdl_cache_limit" restricts the number of cached wsdl files in memory. Adding new files into full memory cache will delete oldest files from it.
Note that, each PHP process or thread uses it's own memory cache.
Diffstat (limited to 'ext/pdo_mysql/mysql_statement.c')
0 files changed, 0 insertions, 0 deletions