GNU bug report logs - #39051
nginx serving files from the store returns Last-Modified = Epoch

Previous Next

Package: guix;

Reported by: Robert Vollmert <rob <at> vllmrt.net>

Date: Thu, 9 Jan 2020 10:54:02 UTC

Severity: normal

Merged with 37207

Full log


View this message in rfc822 format

From: Robert Vollmert <rob <at> vllmrt.net>
To: 39051 <at> debbugs.gnu.org
Subject: bug#39051: nginx caching headers are broken due to epoch store timestamps
Date: Thu, 9 Jan 2020 11:52:47 +0100
I’ve 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’ve fixed this on my server by applying a patch from Nix:
https://github.com/robx/guix/commit/4b406f5bc608b3c0e18e15795d8fe61d3477a3e2





This bug report was last modified 5 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.