1 |
> In order to use that for distfiles mirrors, such that clients could know |
2 |
> where to fetch the files from, you'd need the mirror's http server to |
3 |
> redirect the request to the appropriate location (since the location |
4 |
> would not be predictable from the client side). |
5 |
|
6 |
That's not necessary: the client can fetch listing of the top level distfiles/ |
7 |
which now would be hundreds of directories, not tens of thousands |
8 |
of files. That would allow the client to calculate the correct directory to |
9 |
fetch a distfile from locally. List of directories can be cached until an |
10 |
attempt to fetch a distfile will result in a miss (meaning that distfiles were |
11 |
redistributed). |
12 |
-- |
13 |
Andrew |