From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 28 05:52:41 2019 Received: (at submit) by debbugs.gnu.org; 28 Aug 2019 09:52:41 +0000 Received: from localhost ([127.0.0.1]:49886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2ud7-0003dW-Hf for submit@debbugs.gnu.org; Wed, 28 Aug 2019 05:52:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:36737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2ud6-0003dO-2w for submit@debbugs.gnu.org; Wed, 28 Aug 2019 05:52:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47697) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2ud4-0002sM-W3 for bug-Guix@gnu.org; Wed, 28 Aug 2019 05:52:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i2ud4-00006r-T6 for bug-Guix@gnu.org; Wed, 28 Aug 2019 05:52:38 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45642 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i2ud4-0002sZ-B2 for bug-Guix@gnu.org; Wed, 28 Aug 2019 05:52:38 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-Guix@gnu.org Subject: guix.gnu.org returns Last-Modified = Epoch X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 Fructidor an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 28 Aug 2019 11:52:36 +0200 Message-ID: <875zmhliqj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (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-Spam-Score: -2.3 (--) 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: -3.3 (---) Hello Guix, Since the use of the =E2=80=98static-web-site=E2=80=99 service, which puts = web site files in the store, nginx returns a =E2=80=98Last-Modified=E2=80=99 header = that can trick clients into caching things forever: --8<---------------cut here---------------start------------->8--- $ wget --debug -O /dev/null https://guix.gnu.org/packages.json 2>&1 | gre= p Last Last-Modified: Thu, 01 Jan 1970 00:00:01 GMT --8<---------------cut here---------------end--------------->8--- We should tell nginx to do not emit =E2=80=98Last-Modified=E2=80=99, or to = take the state from the /srv/guix.gnu.org symlink, if possible. Ludo=E2=80=99.