about summary refs log tree commit diff
path: root/users/Profpatsch/openlab-tools/openlab-tools.cabal
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/openlab-tools.cabal
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/openlab-tools.cabal')
-rw-r--r--users/Profpatsch/openlab-tools/openlab-tools.cabal4
1 files changed, 3 insertions, 1 deletions
diff --git a/users/Profpatsch/openlab-tools/openlab-tools.cabal b/users/Profpatsch/openlab-tools/openlab-tools.cabal
index 621c8a5c4213..461c53776746 100644
--- a/users/Profpatsch/openlab-tools/openlab-tools.cabal
+++ b/users/Profpatsch/openlab-tools/openlab-tools.cabal
@@ -95,7 +95,9 @@ library
         wai,
         warp,
         tagsoup,
-        time
+        time,
+        stm,
+        case-insensitive
 
 executable openlab-tools
     import: common-options