From: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
To: Eric Wong <e@yhbt.net>
Cc: Junio C Hamano <gitster@pobox.com>,
"Theodore Y. Ts'o" <tytso@mit.edu>,
Caleb Gray <hey@calebgray.com>,
git@vger.kernel.org
Subject: Re: Add a "Flattened Cache" to `git --clone`?
Date: Sun, 17 May 2020 18:12:13 -0400 [thread overview]
Message-ID: <20200517221213.l3q2creiddpylbpm@chatter.i7.local> (raw)
In-Reply-To: <20200515214257.GA21855@dcvr>
On Fri, May 15, 2020 at 09:42:57PM +0000, Eric Wong wrote:
> That said, I'm not sure if any client-side caching proxies can
> MITM HTTPS and save bandwidth with HTTPS everywhere, nowadays.
> I seem to recall polipo being abandoned because of HTTPS.
> Maybe there's a caching HTTPS MITM proxy out there...
Right, this can't operate as a transparent proxy. However, it could work
in combination with insteadOf on the client, e.g., if the repo URL is
https://example.com/foo/bar.git, the CI builder could set a global
insteadOf in /etc/gitconfig before kicking off the job:
[url http://local.proxy]
insteadOf = https://example.com
This way CI job maintainers could continue to use canonical repo URLs,
but actual requests would go out to the local proxy and be cached.
-K
next prev parent reply other threads:[~2020-05-17 22:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-14 14:34 Add a "Flattened Cache" to `git --clone`? Caleb Gray
2020-05-14 20:33 ` Konstantin Ryabitsev
2020-05-14 20:54 ` Bryan Turner
2020-05-14 21:05 ` Theodore Y. Ts'o
2020-05-14 21:09 ` Eric Sunshine
2020-05-14 21:10 ` Konstantin Ryabitsev
2020-05-14 21:23 ` Junio C Hamano
2020-05-14 21:44 ` Konstantin Ryabitsev
2020-05-15 21:42 ` Eric Wong
2020-05-17 22:12 ` Konstantin Ryabitsev [this message]
[not found] ` <1061511589863147@mail.yandex.ru>
2020-05-25 14:02 ` Caleb Gray
2020-05-14 21:33 ` Caleb Gray
2020-05-14 21:56 ` Junio C Hamano
2020-05-14 22:04 ` Caleb Gray
2020-05-14 22:30 ` Junio C Hamano
2020-05-14 22:44 ` Bryan Turner
2020-05-14 21:19 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200517221213.l3q2creiddpylbpm@chatter.i7.local \
--to=konstantin@linuxfoundation.org \
--cc=e@yhbt.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=hey@calebgray.com \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).