From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 13 01:58:58 2018 Received: (at submit) by debbugs.gnu.org; 13 Dec 2018 06:58:58 +0000 Received: from localhost ([127.0.0.1]:45737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXKxW-0003DL-3x for submit@debbugs.gnu.org; Thu, 13 Dec 2018 01:58:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXKxU-0003D9-C3 for submit@debbugs.gnu.org; Thu, 13 Dec 2018 01:58:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXKxN-0007Xq-Rt for submit@debbugs.gnu.org; Thu, 13 Dec 2018 01:58:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gXKxN-0007XU-LK for submit@debbugs.gnu.org; Thu, 13 Dec 2018 01:58:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXKxM-0007Rz-Hx for bug-guix@gnu.org; Thu, 13 Dec 2018 01:58:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXKxJ-0007TX-5Q for bug-guix@gnu.org; Thu, 13 Dec 2018 01:58:48 -0500 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:44571) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXKxI-0007Rs-OB for bug-guix@gnu.org; Thu, 13 Dec 2018 01:58:44 -0500 Received: by mail-pf1-x430.google.com with SMTP id u6so608858pfh.11 for ; Wed, 12 Dec 2018 22:58:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=GuKRE43FHOnQjIwdrN52LWJiApnLEKMXScYkGCuOSB0=; b=ZdW7B+K3KSuA7e/gwA6jZ1oZAb7PKjbZRgyNRQwDrauRBf7zTs7h5fJwxA/o5zKus8 xeiXO38YWTgv3GQ7lmQSqOE++4MbwS7rU4Z/tM2xqJVMOOyVyu3ZrakaTVXK6fku8pHg ukodukj+bdKoQuIqJQ6MiRGHGS8jhssW5TksSwOWeCXcuzXcuDA02vmPus4064YvL/9p G2DML3L9DCDiTcx2Hd9dtIWzaRPZ9VJqm2Qh9rRwPrU0HB76Y3fQZFqjCtjTxqKZIZFe WiHcLP+2hoZDaC6rUFWkVOWpCAdoemqxfziYvxsHUdXnVoLKh03oO79PmJ0rdj3rjmD7 qLpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=GuKRE43FHOnQjIwdrN52LWJiApnLEKMXScYkGCuOSB0=; b=qx8YiE0YBtV1mZG5cOm6TQjgQl8cwvk+LF/+S64vTRMXoBZCpRdaNd0Sybi8sY/7LV XunE+KKKoWPeJdGIgghkjxpJLLLkidFX0mkQPZGiDDmP8VKgC8arUb/wnWY+2yJ9xtyH cO+1G1xK343as+YACG37JB06Kqv/xQKYKYbANyIdi8SyiM8noBEYPp1FMASgKCVAvN2Y OUNgnBKGG/xOLyW/iPDzmLI0Hgub8aAdal6why+tzrO9VQkL++jZnDiWEBdfNauJD6br M1i0k+nlOWN8QgUebXlwkzMXRwWOrnL90B+Zfz91RiVwYlouMbHHiSEzJ7qDPY6fA0d1 cCEw== X-Gm-Message-State: AA+aEWYcC7ICB2wPVomJONUBQKY21v/mvC1jSx3AEa2ZbLmvANzQMG8w MK4Kqah2JPD21jhgdvMUDLwmHB+D X-Google-Smtp-Source: AFSGD/WwCqI3pqwzG6BLIFldkIArc5Hvlbv92xO/A9CuaZKX50YRiDw1ioepHE1WjTS1tHijbu9OKw== X-Received: by 2002:a63:de46:: with SMTP id y6mr20938447pgi.198.1544684322435; Wed, 12 Dec 2018 22:58:42 -0800 (PST) Received: from garuda.local (c-73-53-106-26.hsd1.wa.comcast.net. [73.53.106.26]) by smtp.gmail.com with ESMTPSA id 202sm2215065pfy.87.2018.12.12.22.58.40 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Dec 2018 22:58:41 -0800 (PST) From: Chris Marusich To: bug-guix@gnu.org Subject: ci.guix.info does not return Cache-Control header for substitutes Date: Wed, 12 Dec 2018 22:58:36 -0800 Message-ID: <87d0q5yktf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, 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: =2D-8<---------------cut here---------------start------------->8--- $ curl --dump-header - -s -o /dev/null https://ci.guix.info/nar/gzip/0fw7w3= 96llw316nj36dsqnbkxzc9bqwa-python-itsdangerous-0.24 HTTP/1.1 200 OK Server: nginx/1.14.1 Date: Thu, 13 Dec 2018 06:49:04 GMT Content-Type: application/octet-stream;charset=3DISO-8859-1 Content-Length: 19449 Connection: keep-alive =2D-8<---------------cut here---------------end--------------->8--- However, some URLs do include a Cache-Control header in the response. For example: =2D-8<---------------cut here---------------start------------->8--- $ curl --dump-header - -s -o /dev/null https://ci.guix.info/s8v7vrzgpjkyf72= dlbifhprabqqlx696.narinfo HTTP/1.1 200 OK Server: nginx/1.14.1 Date: Thu, 13 Dec 2018 06:49:25 GMT Content-Type: application/x-nix-narinfo;charset=3Dutf-8 Content-Length: 1456 Connection: keep-alive Cache-Control: max-age=3D7776000 =2D-8<---------------cut here---------------end--------------->8--- I expected all URLs to return an appropriate Cache-Control header (at least when returning an HTTP 200 response), especially the URLs for the gzipped substitutes themselves, since they are likely to be large. Is there a reason why we do not include a Cache-Control header for all substitutes under the /nar/gzip/ prefix? =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlwSAxwACgkQ3UCaFdgi Rp0hnRAAlbfMaogCHXKrs2nlvsi5b+AbYmrChimKpuEnan64YO6YHBGDpuU+Dh2F OKcg9lMAGaYqnKcb8YQsU3aQuIntwIaHBPxkpEiwYklGCeaBYwoKoKtLAXdLLvmD jgU2Nnf8lxVuP3WTwK5H1aWROveQfUZqsPUL0Pq+G5jGAUnUEKPPePsC44A7nGil ARlvaO2liXLkJHBH3ceq/fqMLaD6dmbxdDsmYB/efNdYQxUCtS9zYwuFhDXIh2/k oiARkH/Ah93DWjH2n6Q0vMqhGkaXdlnbcML1jF0MmKmtUV5WJqnunrV6T0nKLo4O or6x8QptwEQ/fU/xMMZv1hWv6kPtj7ZCvPQ5CG0Ucf6IerkhLDwCQK/lsOSE8UBf XzrgZt4D/KDNCQ2NHeYwXk4fhKJsynTK/1fZj1lnh6dGImGvEVRmLdwVp/1tMEg5 u+UJrkJ1AMcaZdVEjwvueb4dCoeW01TW0y0W3pI4mthDMZcINiSnZSWOQYKEjYaO jHNGYwrpysrdLeZ7cG8fw9K1HIq6q9Morvr/v5iWeFym37pte072fGFl3UZ4PIBU bAO/ncz9XaOGY4AF1SYwc0Qf9eTJdN22qRiU0TZZ09mXhMig3WC3jwaiKc3zrSmk ATMsm174BVXwSgsUFvstlGZmLZuX/++pZGXnXlWcCPeKXhy7u+E= =VFW3 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 17 17:38:34 2018 Received: (at 33721) by debbugs.gnu.org; 17 Dec 2018 22:38:34 +0000 Received: from localhost ([127.0.0.1]:52354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZ1Wz-0006pl-QQ for submit@debbugs.gnu.org; Mon, 17 Dec 2018 17:38:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZ1Wy-0006pZ-QB for 33721@debbugs.gnu.org; Mon, 17 Dec 2018 17:38:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZ1Ws-0002NW-Pt for 33721@debbugs.gnu.org; Mon, 17 Dec 2018 17:38:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZ1Ws-0002NN-MP; Mon, 17 Dec 2018 17:38:26 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37204 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gZ1Ws-0003CZ-DH; Mon, 17 Dec 2018 17:38:26 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Chris Marusich Subject: Re: bug#33721: ci.guix.info does not return Cache-Control header for substitutes References: <87d0q5yktf.fsf@gmail.com> Date: Mon, 17 Dec 2018 23:38:25 +0100 In-Reply-To: <87d0q5yktf.fsf@gmail.com> (Chris Marusich's message of "Wed, 12 Dec 2018 22:58:36 -0800") Message-ID: <87lg4nzsm6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 33721 Cc: 33721@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 17 17:38:40 2018 Received: (at control) by debbugs.gnu.org; 17 Dec 2018 22:38:40 +0000 Received: from localhost ([127.0.0.1]:52357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZ1X6-0006q4-1u for submit@debbugs.gnu.org; Mon, 17 Dec 2018 17:38:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZ1X4-0006pk-F5 for control@debbugs.gnu.org; Mon, 17 Dec 2018 17:38:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZ1Wy-0002S5-Pt for control@debbugs.gnu.org; Mon, 17 Dec 2018 17:38:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZ1Wy-0002Rq-JJ for control@debbugs.gnu.org; Mon, 17 Dec 2018 17:38:32 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37206 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gZ1Wy-0003Cd-99 for control@debbugs.gnu.org; Mon, 17 Dec 2018 17:38:32 -0500 Date: Mon, 17 Dec 2018 23:38:31 +0100 Message-Id: <87k1k7zsm0.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #33721 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) tags 33721 fixed close 33721 From unknown Fri Jun 13 11:54:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 15 Jan 2019 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator