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 /pkgs/development/python-modules/python-sql | |
| parent | 129c73802fdddacb20cf194bd2968d73ebced590 (diff) | |
| parent | ccf55bead1f3bc2a6419a9fdcec55933ffe046de (diff) | |
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 'pkgs/development/python-modules/python-sql')
0 files changed, 0 insertions, 0 deletions
