bug#37207: guix.gnu.org Last Modified at epoch

2019-09-26 Thread Ludovic Courtès
Hi Tobias, Tobias Geerinckx-Rice skribis: > Turning these off will of course prevent all caching. I don't know if > that would add measurable load to guix.gnu.org (it would be more > problematic if we used a CDN, but it might still make a difference). > > Nix does something both interesting and

bug#37207: guix.gnu.org Last Modified at epoch

2019-09-05 Thread Ludovic Courtès
Hello! Did one of you have chance to come up with a trick to emit the right ‘Last-Modified’? We seemed to be close to having something. :-) Thanks, Ludo’.

bug#37207: guix.gnu.org Last Modified at epoch

2019-08-29 Thread Ludovic Courtès
Hi Gábor, Gábor Boskovits skribis: > Ludovic Courtès ezt írta (időpont: 2019. aug. 28., Sze, > 22:32): > >> Hello, >> >> Gábor Boskovits skribis: >> >> > we should create a file with the git last modification time of the files, >> > updated when there is a new commit in the repo => last-modifi

bug#37207: guix.gnu.org Last Modified at epoch

2019-08-28 Thread Gábor Boskovits
Hello Ludo, Ludovic Courtès ezt írta (időpont: 2019. aug. 28., Sze, 22:32): > Hello, > > Gábor Boskovits skribis: > > > we should create a file with the git last modification time of the files, > > updated when there is a new commit in the repo => last-modified > > we should create a file with

bug#37207: guix.gnu.org Last Modified at epoch

2019-08-28 Thread Ludovic Courtès
Hello, Gábor Boskovits skribis: > we should create a file with the git last modification time of the files, > updated when there is a new commit in the repo => last-modified > we should create a file with some hash of the files, updated when there is > a new commit in the repo => etag > we could

bug#37207: guix.gnu.org Last Modified at epoch

2019-08-28 Thread Gábor Boskovits
Hello Tobias, Tobias Geerinckx-Rice via Bug reports for GNU Guix ezt írta (időpont: 2019. aug. 28., Sze, 16:38): > Gábor, Ludo', > > Gábor Boskovits 写道: > > Supressing the last modified header is just an > > add_header Last-Modified ""; > > away. > > You'll also need: > > # Don't honour client I

bug#37207: guix.gnu.org Last Modified at epoch

2019-08-28 Thread Gábor Boskovits
Hello Danny, Danny Milosavljevic ezt írta (időpont: 2019. aug. 28., Sze, 17:05): > Hi Gabor, > > On Wed, 28 Aug 2019 12:40:37 +0200 > Gábor Boskovits wrote: > > > Supressing the last modified header is just an > > add_header Last-Modified ""; > > away. > > > > To get the info from the symlink s

bug#37207: guix.gnu.org Last Modified at epoch

2019-08-28 Thread Danny Milosavljevic
Hi Gabor, On Wed, 28 Aug 2019 12:40:37 +0200 Gábor Boskovits wrote: > Supressing the last modified header is just an > add_header Last-Modified ""; > away. > > To get the info from the symlink seems to be much trickier, i would do with > either embedded perl or embedded lua. I am not sure if we

bug#37207: guix.gnu.org Last Modified at epoch

2019-08-28 Thread Tobias Geerinckx-Rice via Bug reports for GNU Guix
Gábor, Ludo', Gábor Boskovits 写道: 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 thes

bug#37207: guix.gnu.org Last Modified at epoch

2019-08-28 Thread Gábor Boskovits
Hello, Supressing the last modified header is just an add_header Last-Modified ""; away. To get the info from the symlink seems to be much trickier, i would do with either embedded perl or embedded lua. I am not sure if we should bother with it, though. Wdyt?