Re: ip-to-country - summary
| From: | Gabor Hojtsy | Date: | Fri, 25 Apr 2003 19:47:55 +0000 |
| Subject: | Re: ip-to-country - summary | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-17076@lists.php.net to get a copy of this message | ||
> I was taking a peek at doing stuff kief stuff when doing a
> /get/file/from/mirror goodie we can open a connection to the remote
> server the user wants to pull the file from and check it the file exists
> read say 1024/2048 or however many bytes, check the status code. I do
> something similar with my implementation to Colin's works stuff and to a
> couple other sites that I use for work. This would add a slight 1 sec
> or so delay but it's prob worth it?
I don't think that this worth it in real time. We can play with the
last-updated date we already collect from the mirrors. We know when a release
was out, and if the site was updated since that time, then the file should be
there. We also check all mirrors every hour, and remove them after a few days
of inactivity / outdatedness. We can distribute the last-updated and last-up
dates to the mirrors... But this is pure speculation, and is only interesting
if we would like to do some automatic redirection, which we would not ;)
First do the first steps, then go on...
Goba