Static downloading
| From: | Martin Jansen | Date: | Tue, 12 Sep 2006 13:58:36 +0000 |
| Subject: | Static downloading | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-5222@lists.php.net to get a copy of this message | ||
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.
- Martin