From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice via Bug reports for GNU Guix Subject: bug#37207: guix.gnu.org Last Modified at epoch Date: Wed, 28 Aug 2019 16:37:15 +0200 Message-ID: <877e6xqrtw.fsf@nckx> References: <875zmhliqj.fsf@gnu.org> Reply-To: Tobias Geerinckx-Rice Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58649) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2z5H-0000xy-Rg for bug-guix@gnu.org; Wed, 28 Aug 2019 10:38:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2z5G-00006f-Q3 for bug-guix@gnu.org; Wed, 28 Aug 2019 10:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42207) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2z5G-00006Y-NY for bug-guix@gnu.org; Wed, 28 Aug 2019 10:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i2z5G-0006mD-Kt for bug-guix@gnu.org; Wed, 28 Aug 2019 10:38:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:58517) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2z4g-0000uN-0p for bug-guix@gnu.org; Wed, 28 Aug 2019 10:37:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2z4e-0008N6-Bo for bug-guix@gnu.org; Wed, 28 Aug 2019 10:37:25 -0400 Received: from tobias.gr ([2001:470:7405::1]:44522) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i2z4d-0008Lo-2F for bug-guix@gnu.org; Wed, 28 Aug 2019 10:37:24 -0400 In-reply-to: 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: 37207@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable G=C3=A1bor, Ludo', G=C3=A1bor Boskovits =E5=86=99=E9=81=93=EF=BC=9A > Supressing the last modified header is just an > add_header Last-Modified ""; > away. You'll also need: # Don't honour client If-Modified-Since constraints. if_modified_since off; # Nginx's etags are hashes of file timestamp & file length. etag off; Turning these off will of course prevent all caching. I don't=20 know if that would add measurable load to guix.gnu.org (it would=20 be more problematic if we used a CDN, but it might still make a=20 difference). Nix does something both interesting and icky =E2=80=94 as always: patch[0]= =20 nginx to look up the realpath() instead, so clients can still=20 cache using If-None-Match. Kind regards, T G-R [0]: https://github.com/NixOS/nixpkgs/pull/48337 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXWaRmwAKCRANsP+IT1Vt eWLLAP0SAJCUU8QtWOgV//NZDjDU5B90Y2jK9T9MqXOSuViDCgEAhLqEnRhED7aZ 9akV12ZscZH3PV76z5fsYmfgOwtflgA= =DnoZ -----END PGP SIGNATURE----- --=-=-=--