On Wed, 28 Aug 2019 12:40:37 +0200
Gábor Boskovits <email@example.com> wrote:
> Supressing the last modified header is just an
> add_header Last-Modified "";
> 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?
Since we already emit ETag, I don't think we need to bother with Last-Modified.
Why is the ETag so short, though?
The ETag we emit is also bad. Nginx calculates this from mtime and content-lenght,
so in our case it's just content length.
>wget --debug -O /dev/null https://guix.gnu.org/packages.json 2>&1 | grep -i etag