From e5a44334fe09b1d9095908b37da15f48a681a0a9 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Fri, 20 Oct 2023 20:12:02 +0200 Subject: fix(users/Profpatsch/openlab-tools): add cache headers 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 Tested-by: BuildkiteCI Reviewed-by: Profpatsch --- users/Profpatsch/hie.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'users/Profpatsch/hie.yaml') diff --git a/users/Profpatsch/hie.yaml b/users/Profpatsch/hie.yaml index f32ce88bf2..0ce195c4d3 100644 --- a/users/Profpatsch/hie.yaml +++ b/users/Profpatsch/hie.yaml @@ -24,6 +24,12 @@ cradle: component: "jbovlaste-sqlite:exe:jbovlaste-sqlite" - path: "./whatcd-resolver/src" component: "lib:whatcd-resolver" + - path: "./whatcd-resolver/Main.hs" + component: "whatcd-resolver:exe:whatcd-resolver" + - path: "./openlab-tools/src" + component: "lib:openlab-tools" + - path: "./openlab-tools/Main.hs" + component: "openlab-tools:exe:openlab-tools" - path: "./ircmail/src" component: "lib:ircmail" - path: "./httzip/Httzip.hs" -- cgit 1.4.1