From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Vollmert Subject: bug#39051: nginx caching headers are broken due to epoch store timestamps Date: Thu, 9 Jan 2020 11:52:47 +0100 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52315) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipVRz-0004Lf-JE for bug-guix@gnu.org; Thu, 09 Jan 2020 05:54:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipVRy-0008Rw-DR for bug-guix@gnu.org; Thu, 09 Jan 2020 05:54:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45884) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipVRy-0008R6-8c for bug-guix@gnu.org; Thu, 09 Jan 2020 05:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ipVRy-0005p1-6y for bug-guix@gnu.org; Thu, 09 Jan 2020 05:54:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:43332) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipVQx-0004Hd-DQ for bug-guix@gnu.org; Thu, 09 Jan 2020 05:53:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipVQv-00041e-Oe for bug-guix@gnu.org; Thu, 09 Jan 2020 05:52:58 -0500 Received: from mout-p-102.mailbox.org ([2001:67c:2050::465:102]:51002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipVQv-0003fz-FD for bug-guix@gnu.org; Thu, 09 Jan 2020 05:52:57 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 47tjd04PV7zKmVD for ; Thu, 9 Jan 2020 11:52:52 +0100 (CET) Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id ORGXeI9EE2_7 for ; Thu, 9 Jan 2020 11:52:48 +0100 (CET) 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-mx.org@gnu.org Sender: "bug-Guix" To: 39051@debbugs.gnu.org I=E2=80=99ve been having hard-to-debug caching issues serving up static = files with nginx. It turns out this is due to nginx computing e-tag headers from file timestamps, which are all epoch in the guix store. I=E2=80=99ve fixed this on my server by applying a patch from Nix: = https://github.com/robx/guix/commit/4b406f5bc608b3c0e18e15795d8fe61d3477a3= e2