Ludovic Courtès <ludo@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 39051) by debbugs.gnu.org; 11 Jan 2020 21:24:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 11 16:24:37 2020 Received: from localhost ([127.0.0.1]:56789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iqOFI-00035E-Vt for submit <at> debbugs.gnu.org; Sat, 11 Jan 2020 16:24:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1iqOFH-000352-Nr for 39051 <at> debbugs.gnu.org; Sat, 11 Jan 2020 16:24:35 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1iqOFB-0005tL-UP; Sat, 11 Jan 2020 16:24:29 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46368 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1iqOFB-0007lO-Bq; Sat, 11 Jan 2020 16:24:29 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: =?utf-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN> Subject: Re: bug#39051: nginx caching headers are broken due to epoch store timestamps References: <D0AAA75A-E814-4BDA-9974-70DC168073F6@HIDDEN> <CAE4v=pj=3txU+euM8t=LXP+3dMBUPeLczmPhTw0V8SrKbpTCRg@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?utf-8?Q?Niv=C3=B4se?= an 228 de la =?utf-8?Q?R?= =?utf-8?Q?=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: Sat, 11 Jan 2020 22:24:27 +0100 In-Reply-To: <CAE4v=pj=3txU+euM8t=LXP+3dMBUPeLczmPhTw0V8SrKbpTCRg@HIDDEN> (=?utf-8?Q?=22G=C3=A1bor?= Boskovits"'s message of "Thu, 9 Jan 2020 12:00:16 +0100") Message-ID: <87tv51u1o4.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (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: 39051 Cc: 39051 <at> debbugs.gnu.org, Robert Vollmert <rob@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi, G=C3=A1bor Boskovits <boskovits@HIDDEN> skribis: > Hello, > > Robert Vollmert <rob@HIDDEN> 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!
bug-guix@HIDDEN
:bug#39051
; Package guix
.
Full text available.Ludovic Courtès <ludo@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 39051) by debbugs.gnu.org; 9 Jan 2020 12:12:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 09 07:12:55 2020 Received: from localhost ([127.0.0.1]:51899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ipWgJ-0007nM-3L for submit <at> debbugs.gnu.org; Thu, 09 Jan 2020 07:12:55 -0500 Received: from mout-p-202.mailbox.org ([80.241.56.172]:14820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rob@HIDDEN>) id 1ipWgH-0007n6-8U for 39051 <at> debbugs.gnu.org; Thu, 09 Jan 2020 07:12:53 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 47tlPB6XHCzQlCT; Thu, 9 Jan 2020 13:12:46 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id 49KykQeAzG9t; Thu, 9 Jan 2020 13:12:43 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: bug#39051: nginx caching headers are broken due to epoch store timestamps From: Robert Vollmert <rob@HIDDEN> In-Reply-To: <CAE4v=pj=3txU+euM8t=LXP+3dMBUPeLczmPhTw0V8SrKbpTCRg@HIDDEN> Date: Thu, 9 Jan 2020 13:12:41 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <155F39DF-2BE3-44B7-BBB6-22E89A7A4DB0@HIDDEN> References: <D0AAA75A-E814-4BDA-9974-70DC168073F6@HIDDEN> <CAE4v=pj=3txU+euM8t=LXP+3dMBUPeLczmPhTw0V8SrKbpTCRg@HIDDEN> To: =?utf-8?Q?G=C3=A1bor_Boskovits?= <boskovits@HIDDEN> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39051 Cc: 39051 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) I don=E2=80=99t see anything here: = https://debbugs.gnu.org/cgi/pkgreport.cgi?package=3Dguix;include=3Dsubject= %3Anginx > On 9. Jan 2020, at 12:00, G=C3=A1bor Boskovits <boskovits@HIDDEN> = wrote: >=20 > Hello, >=20 > Robert Vollmert <rob@HIDDEN> ezt =C3=ADrta (id=C5=91pont: 2020. = jan. 9., Cs, 11:54): >>=20 >> 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. >>=20 >> I=E2=80=99ve fixed this on my server by applying a patch from Nix: >> = https://github.com/robx/guix/commit/4b406f5bc608b3c0e18e15795d8fe61d3477a3= e2 >=20 > this is a known issue. Could you look around the tracker and merge? >>=20 >>=20 >>=20 >>=20 >=20 > Also, on the long run it would be nice to contribute a working etags > computation to nginx, that > is based on the file content hash, or something like that. Does that = make sense? >=20 > Best regards, > g_bor > --=20 > OpenPGP Key Fingerprint: = 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
bug-guix@HIDDEN
:bug#39051
; Package guix
.
Full text available.Received: (at 39051) by debbugs.gnu.org; 9 Jan 2020 11:00:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 09 06:00:35 2020 Received: from localhost ([127.0.0.1]:51864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ipVYJ-00060R-EM for submit <at> debbugs.gnu.org; Thu, 09 Jan 2020 06:00:35 -0500 Received: from mail-ed1-f44.google.com ([209.85.208.44]:42283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <boskovits@HIDDEN>) id 1ipVYH-00060E-PT for 39051 <at> debbugs.gnu.org; Thu, 09 Jan 2020 06:00:34 -0500 Received: by mail-ed1-f44.google.com with SMTP id e10so5212023edv.9 for <39051 <at> debbugs.gnu.org>; Thu, 09 Jan 2020 03:00:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=VTjrgiu8WPZrPsbsxFZfM1FggsAe0C+amq5OAfhVNI4=; b=hLB637SoXP2vigTZa1CdZIfDdIKJyJ6ERWzlKT4GH1S1mBmrTUKM6yfXiNjcF1PGCC uz90C8Y3fwG56fNoHguzZ6rM0alUoJiI2u79eNFYSUj3sIuOeAOr/Ibkdjc8Mg/85kDU +Wqhw1XIlKqF8NB1RpcvVTTLDsf6dMVDTjDw+bo0p1BBu+cdg+5K7tGjafwsLXmBB019 TeNaHelzJtKCZ1800OWdI00cShieQnKiHARdJqiWVfk4+hgcHYXS386KylVJQ3pHe9Z2 XIGc8zCB/ldMd05XBAmMDPvbc/zWmZG16jI4qVZqrULJFDGF72Jr3oDGD4iJGG9Bc77H Euag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=VTjrgiu8WPZrPsbsxFZfM1FggsAe0C+amq5OAfhVNI4=; b=bw/Fd5VdzAUkkjWx/ip2MEUfMopEB54S7GBCHauVUff8OzLy9jpnSCmeKX3/xFyPKG rR1EmUGKknDOmanKx26I8s2PNu215HdYD666o5jWekIC/1JSmyPHkDdNP1nTfAaMZgRB pmWWjE7UWB56MStpHq350jXVIx9Q0adBAuRpFRSCcROhPoVoABcR/4Z1Ov0Z6I7YFr9G ZCCmP7N+y5kH7Fql6XHAgjfSL4DldLypl9W7OXAB9jqLNJxN0fpGfQdphJfUmgx84nVO wR/wskUkSpqrXlH2xX+fAf/ptTyQGv0vB7wb/gWlXtusU2aFAoLp4ILC4Us+T8f4QsTo GwgA== X-Gm-Message-State: APjAAAVHIqtguxaDEuRBQPKvk0J3H31/a8pMCD4blJpBg5Cbup8lxRfB WJezDN1gpcFd/wYUzNgx4Z0R7AMN0r/+6kyipw== X-Google-Smtp-Source: APXvYqzcfAgKiYdX8flaw95d7jkUAUtahqgAqTMXLjlJDxZ5S71cQnKIabPHFxKm32noCkqfmrE/c43TUY/nV9zDo+U= X-Received: by 2002:a17:906:7cf:: with SMTP id m15mr9461782ejc.82.1578567627867; Thu, 09 Jan 2020 03:00:27 -0800 (PST) MIME-Version: 1.0 References: <D0AAA75A-E814-4BDA-9974-70DC168073F6@HIDDEN> In-Reply-To: <D0AAA75A-E814-4BDA-9974-70DC168073F6@HIDDEN> From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= <boskovits@HIDDEN> Date: Thu, 9 Jan 2020 12:00:16 +0100 Message-ID: <CAE4v=pj=3txU+euM8t=LXP+3dMBUPeLczmPhTw0V8SrKbpTCRg@HIDDEN> Subject: Re: bug#39051: nginx caching headers are broken due to epoch store timestamps To: Robert Vollmert <rob@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39051 Cc: 39051 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello, Robert Vollmert <rob@HIDDEN> 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 f= iles > 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/4b406f5bc608b3c0e18e15795d8fe61d3477a= 3e2 this is a known issue. Could you look around the tracker and merge? > > > > Also, on the long run it would be nice to contribute a working etags computation to nginx, that is based on the file content hash, or something like that. Does that make s= ense? Best regards, g_bor --=20 OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
bug-guix@HIDDEN
:bug#39051
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 9 Jan 2020 10:53:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 09 05:53:02 2020 Received: from localhost ([127.0.0.1]:51857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ipVR0-0005no-Kq for submit <at> debbugs.gnu.org; Thu, 09 Jan 2020 05:53:02 -0500 Received: from lists.gnu.org ([209.51.188.17]:41524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rob@HIDDEN>) id 1ipVQy-0005nM-M8 for submit <at> debbugs.gnu.org; Thu, 09 Jan 2020 05:53:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43332) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <rob@HIDDEN>) id 1ipVQx-0004Hd-DQ for bug-guix@HIDDEN; Thu, 09 Jan 2020 05:53:00 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rob@HIDDEN>) id 1ipVQv-00041e-Oe for bug-guix@HIDDEN; 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 <rob@HIDDEN>) id 1ipVQv-0003fz-FD for bug-guix@HIDDEN; 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 <bug-guix@HIDDEN>; Thu, 9 Jan 2020 11:52:52 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de 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 <bug-guix@HIDDEN>; Thu, 9 Jan 2020 11:52:48 +0100 (CET) From: Robert Vollmert <rob@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: nginx caching headers are broken due to epoch store timestamps Message-Id: <D0AAA75A-E814-4BDA-9974-70DC168073F6@HIDDEN> Date: Thu, 9 Jan 2020 11:52:47 +0100 To: bug-guix@HIDDEN X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:67c:2050::465:102 X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) 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
Robert Vollmert <rob@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#39051
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.