Re: Re: XML/RPC/Cached_Server ?
| From: | Fabien MARTY | Date: | Tue, 30 Aug 2005 07:19:26 +0000 |
| Subject: | Re: Re: XML/RPC/Cached_Server ? | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-39618@lists.php.net to get a copy of this message | ||
> Why only XMLRPC? Could it be used to cache other web service protocols?
With Cache/Lite/*, you can cache everything you want. But this
Cached_Server is XMLRPC only because :
- the "cache id" is calculated with a hash of $HTTP_RAW_POST_DATA
- the XML request is parsed with a regexp to find the "function name"
(in order to set a particular cache lifetime or not)
--
Fabien MARTY
fabien.marty@free.fr