diff options
author | aszlig <aszlig@nix.build> | 2020-01-02 21:41:48 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2020-01-02 21:41:59 +0100 |
commit | 845e92835d90d300142157c6bae9ca5b7831e2bd (patch) | |
tree | 527a5847441933e7cf8a61c253f08abbbe0e19f1 /lib/modules.nix | |
parent | 129c73802fdddacb20cf194bd2968d73ebced590 (diff) | |
parent | ccf55bead1f3bc2a6419a9fdcec55933ffe046de (diff) | |
download | nixpkgs-845e92835d90d300142157c6bae9ca5b7831e2bd.tar nixpkgs-845e92835d90d300142157c6bae9ca5b7831e2bd.tar.gz nixpkgs-845e92835d90d300142157c6bae9ca5b7831e2bd.tar.bz2 nixpkgs-845e92835d90d300142157c6bae9ca5b7831e2bd.tar.lz nixpkgs-845e92835d90d300142157c6bae9ca5b7831e2bd.tar.xz nixpkgs-845e92835d90d300142157c6bae9ca5b7831e2bd.tar.zst nixpkgs-845e92835d90d300142157c6bae9ca5b7831e2bd.zip |
Merge Last-Modified fix for nginx (#76697)
This fixes the patch for nginx to clear the Last-Modified header if a static file is served from the Nix store. So far we only used the ETag from the store path, but if the Last-Modified header is always set to "Thu, 01 Jan 1970 00:00:01 GMT", Firefox and Chrome/Chromium seem to ignore the ETag and simply use the cached content instead of revalidating. Alongside the fix, this also adds a dedicated NixOS VM test, which uses WebDriver and Firefox to check whether the content is actually served from the browser's cache and to have a more real-world test case.
Diffstat (limited to 'lib/modules.nix')
0 files changed, 0 insertions, 0 deletions