Date: Fri, 27 Nov 2015 09:13:48 +0600 From: Victor Sudakov <vas@mpeks.tomsk.su> To: freebsd-pkg@freebsd.org Subject: pkg and HTTP caches Message-ID: <20151127031348.GA81677@admin.sibptus.tomsk.ru>
next in thread | raw e-mail | index | archive | help
Dear Colleagues, While accessing the FreeBSD package database via a corporate HTTP proxy, I have noticed that all fetches are cache misses (see below). I think this is because of the "Cache-Control: max-age=0" directive. While I can probably understand the reason to never cache repository metadata, I completely fail to see what the problem is with caching packages proper. Taking into account the amount of packages I install and upgrade on several identical systems, caching them would sufficiently save bandwidth. Any comments please? GET http://pkgmir.pkg.freebsd.org/FreeBSD:10:amd64/quarterly/All/libiconv-1.14_8.txz HTTP/1.1 Host: pkgmir.pkg.freebsd.org Accept: */* User-Agent: pkg/1.6.1 Connection: close HTTP/1.1 200 OK Server: nginx Date: Thu, 26 Nov 2015 17:07:32 GMT Content-Type: application/octet-stream Content-Length: 606196 Last-Modified: Thu, 05 Nov 2015 01:19:00 GMT ETag: "563aae84-93ff4" Expires: Thu, 26 Nov 2015 17:07:32 GMT Cache-Control: max-age=0 Cache-Control: private Accept-Ranges: bytes X-Cache: MISS from proxy.sibptus.ru X-Cache-Lookup: MISS from proxy.sibptus.ru:3128 Via: 1.1 proxy.sibptus.ru (squid/3.5.11) Connection: close -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151127031348.GA81677>
