about summary refs log tree commit diff
path: root/users/Profpatsch/openlab-tools/default.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2023-10-20T18·12+0200
committerclbot <clbot@tvl.fyi>2023-10-20T18·19+0000
commite5a44334fe09b1d9095908b37da15f48a681a0a9 (patch)
treeadd34a36087337518980e5d7fd0d568e9fe6fd1d /users/Profpatsch/openlab-tools/default.nix
parent61ca9c3d7824f302e967b056ea6a207a6fedbf61 (diff)
fix(users/Profpatsch/openlab-tools): add cache headers r/6864
This is a dumb experiment to see how hard it is to respect cache
headers; turns out, medium hard but doable.

Sets the correct expiry time according to the cache, plus respects
`If-Modified-Since` which is a tiny bit harder.

Change-Id: I9e6166af0fa254df2beb0f3919187b91a407487b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9810
Autosubmit: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'users/Profpatsch/openlab-tools/default.nix')
-rw-r--r--users/Profpatsch/openlab-tools/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/Profpatsch/openlab-tools/default.nix b/users/Profpatsch/openlab-tools/default.nix
index 9c1e48af9ece..0e4aa3ebfa96 100644
--- a/users/Profpatsch/openlab-tools/default.nix
+++ b/users/Profpatsch/openlab-tools/default.nix
@@ -26,6 +26,7 @@ let
       pkgs.haskellPackages.aeson-better-errors
       pkgs.haskellPackages.blaze-html
       pkgs.haskellPackages.deepseq
+      pkgs.haskellPackages.case-insensitive
       pkgs.haskellPackages.hs-opentelemetry-sdk
       pkgs.haskellPackages.http-conduit
       pkgs.haskellPackages.http-types