unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39051: nginx caching headers are broken due to epoch store timestamps
@ 2020-01-09 10:52 Robert Vollmert
  2020-01-09 11:00 ` Gábor Boskovits
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Vollmert @ 2020-01-09 10:52 UTC (permalink / raw)
  To: 39051

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-11 21:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09 10:52 bug#39051: nginx caching headers are broken due to epoch store timestamps Robert Vollmert
2020-01-09 11:00 ` Gábor Boskovits
2020-01-09 12:12   ` Robert Vollmert
2020-01-11 21:24   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).