From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#39051: nginx caching headers are broken due to epoch store timestamps Date: Sat, 11 Jan 2020 22:24:27 +0100 Message-ID: <87tv51u1o4.fsf@gnu.org> References: 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]:43491) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqOFj-0007o1-Nf for bug-guix@gnu.org; Sat, 11 Jan 2020 16:25:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqOFi-0008MM-IG for bug-guix@gnu.org; Sat, 11 Jan 2020 16:25:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50816) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iqOFi-0008Le-Df for bug-guix@gnu.org; Sat, 11 Jan 2020 16:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iqOFi-00035w-A5 for bug-guix@gnu.org; Sat, 11 Jan 2020 16:25:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: ("=?UTF-8?Q?G=C3=A1bor?= Boskovits"'s message of "Thu, 9 Jan 2020 12:00:16 +0100") 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: =?UTF-8?Q?G=C3=A1bor?= Boskovits Cc: 39051@debbugs.gnu.org, Robert Vollmert Hi, G=C3=A1bor Boskovits skribis: > Hello, > > Robert Vollmert ezt =C3=ADrta (id=C5=91pont: 2020. jan. = 9., Cs, 11:54): >> >> 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/4b406f5bc608b3c0e18e15795d8fe61d3477= a3e2 > > this is a known issue. Could you look around the tracker and merge? Done. Previous discussion: https://issues.guix.gnu.org/issue/37207 Thanks, Ludo=E2=80=99, also eager to see a proper fix!