Re: cvs: pear-core /PEAR/REST 10.php
| From: | Alan Knowles | Date: | Thu, 12 May 2005 04:41:10 +0000 |
| Subject: | Re: cvs: pear-core /PEAR/REST 10.php | ||
| References: | 1 2 3 | Groups: | php.pear.cvs php.pear.core |
| Request: | Send a blank email to pear-cvs+get-31813@lists.php.net to get a copy of this message | ||
Is turning the listall / remote-info into a single POST request with an
array of items to fetch, rather than doing lots of multiple calls on the
todo list?
eg. so the server sends a concatination of all the requested files.
Regards
Alan
On Thu, 2005-05-12 at 00:28 -0400, Greg Beaver wrote:
> Alan Knowles wrote:
>
> >is it a bit late to see if using full strings rather than single letters
> >is feasible.. I have a feeling it may save the next maintainer some
> >trouble one day... eg.
> > http://pear.php.net/rest/r/pear/deps.Object
> > http://pear.php.net/rest/releases/pear/deps.Object
> >
> >Regards
> >Alan
> >
>
> I think careful in-code docs, full pear.php.net docs, plus the
> annotations in the schemas will be sufficient. Some of these URLs are
> called hundreds of times in a single request (list-all and remote-info,
> for instance), and the overhead can add up to several seconds of
> download on a fast connection, and more on a slow one (this is from
> testing).
>
> Greg