apt has had support for pdiff for what, two decades now?
https://debian-administration.org/article/439/Avoiding_slow_...
I am no fan of it though, dnf is just so much better in all respects.
I remember checking their packaging howto every few years to maybe really/properly/truly understand it, but just the sheer uselessness of the text signaled each time that it's just not worth it. Just google whatever you want copy from stackoverflow, and be done with it, don't try to understand it. (Eg. if I wanted a virtual package that provides some package so I can fake that so it won't get pulled in as useless dependency for other packages.)
~# time apt update
real 0m5.059s
real 0m4.981s
Okay, adding Focal 20.04 LTS repo. apt install -y apt, got apt 1.9.10.
real 0m7.222s
real 0m6.924s
It fetches the InRelease files, all of them seem to have an ETag header, but probably Apt doesn't feel that it can rely on those for some reason.
But using `apt -o Debug::Acquire::http=on update` we see that it depends on the "If-Modified-Since" request headers. And many of the repos just return 304.
There doesn't seem to be a config setting for increasing the number of outgoing connections either.
So even if it gets just 304 responses it still does the "Reading package lists... Building dependency tree" part, which is slooow.
What you're seeing here is some hook that's being run and updating its cache.