From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#33721: ci.guix.info does not return Cache-Control header for substitutes Date: Mon, 17 Dec 2018 23:38:25 +0100 Message-ID: <87lg4nzsm6.fsf@gnu.org> References: <87d0q5yktf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZ1XS-0002eM-Tm for bug-guix@gnu.org; Mon, 17 Dec 2018 17:39:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZ1XS-0002m6-6S for bug-guix@gnu.org; Mon, 17 Dec 2018 17:39:02 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48099) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZ1XS-0002lu-1O for bug-guix@gnu.org; Mon, 17 Dec 2018 17:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZ1XR-0006qg-Tc for bug-guix@gnu.org; Mon, 17 Dec 2018 17:39:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87d0q5yktf.fsf@gmail.com> (Chris Marusich's message of "Wed, 12 Dec 2018 22:58:36 -0800") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Chris Marusich Cc: 33721@debbugs.gnu.org Hi Chris, Chris Marusich skribis: > I've noticed that ci.guix.info (which I see maps to the same IP address > as berlin.guixsd.org) does not return a Cache-Control header for some > substitutes. I've tried various URLs under the /nar/gzip/ prefix, and > and they all omitted a Cache-Control header in the response. For > example: Until now =E2=80=98guix publish=E2=80=99 would set =E2=80=98Cache-Control= =E2=80=99 headers only on narinfo responses. The idea was that nars themselves can be cached forever. However it probably makes more sense to set the same =E2=80=98Cache-Control=E2=80=99 header on nar responses. Fixed in 9b9de08477afe0ea519f916ad3d33c9720c3278d. Thanks, Ludo=E2=80=99.