On Tue, Dec 16, 2008 at 9:41 AM, Bart Smaalders <[email protected]>wrote:
> Boyd Adamson wrote: > >> It seems that many of the use cases of mirrors for IPS repos are in the >> interest of supporting multiple local machines without multiple >> downloads of the same files from the public repositories. >> >> I notice by looking at proxy logs that most (all?) of the file fetches >> by pkg are using the POST method, which means that they can't be cached >> by a proxy server. >> >> I've not looked at the code, but from the layout of the files in a local >> repo and the content of the manifests I infer that the files are fetched >> by hash, which seems like the kind of thing that could be put into a URL >> for a GET request. >> >> Has any thought been given to using GET rather than POST for the files >> to improve intermediate cachability? >> >> > As J. pointed out, the answer is yes... the reason we're doing post > right now is that the current package we're using to retrieve files > didn't support multiple pending requests, so fetching lots of small > files was unacceptably slow... J. is changing the code to use > pycurl so that we can go back to using GET requests... > > - Bart > Great news, thanks guys
_______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
