Re: Static downloading
| From: | Greg Beaver | Date: | Fri, 15 Sep 2006 14:51:56 +0000 |
| Subject: | Re: Static downloading | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-5231@lists.php.net to get a copy of this message | ||
Martin Jansen wrote:
> Guys,
>
> right now each and every package download on pear.php.net goes through
> http://pear.php.net/get/..., which is insane, because then for
> each
> static (!) download file not only PHP is invoked, but also MySQL due to
> the download logging.
>
> I suggest that we replace this mechanism with a dedicated virtual host
> downloads.pear.php.net, where all the .tgz files are directly
> accessible. Doing this is just a matter of setting up the host in the
> Apache configuration and changing the download URL in the REST files.
> It should be trivial then to parse Apache's access logfiles in order to
> collect the data necessary for the (currently defunct) package
> statistics.
>
> Comments? I'm of course willing to work on this.
Go ahead and set this up. In terms of the REST, all that needs to
change is in pear-rest.php. Once it's ready, we re-run the generateREST
script and all is done (I can do both, but not right away)
Greg