From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#37207: guix.gnu.org returns Last-Modified = Epoch Date: Wed, 28 Aug 2019 11:52:36 +0200 Message-ID: <875zmhliqj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47757) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2udU-0002wm-O6 for bug-guix@gnu.org; Wed, 28 Aug 2019 05:53:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2udT-0000H6-RN for bug-guix@gnu.org; Wed, 28 Aug 2019 05:53:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41065) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2udT-0000Gz-OG for bug-guix@gnu.org; Wed, 28 Aug 2019 05:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i2udT-0003e7-Lh for bug-guix@gnu.org; Wed, 28 Aug 2019 05:53:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: 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 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 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: bug-Guix@gnu.org 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.