about summary refs log tree commit diff
path: root/fun/owothia/src
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2023-10-20T18·31+0200
committerclbot <clbot@tvl.fyi>2023-10-20T18·36+0000
commit7ec7f92812a4693876754575e72794e9010e0391 (patch)
tree933e4cedf6f8050a4f6464329399b7c0f7106c08 /fun/owothia/src
parente5a44334fe09b1d9095908b37da15f48a681a0a9 (diff)
fix(users/Profpatsch/openlab-tools): return 304 iff cache is same r/6865
Now this is getting cool. After 5 minutes we will ask the backend
again (which takes like 3 seconds), but then we compare the old cached
result with the new result and only send it back to the client iff it
changed.

So the client will still have to wait for the roundtrip time, but
doesn’t have to pay for the content. Plus, it gets some info that
upstream hasn’t been updated.

Change-Id: I6dba40321949da5da6a16b2e799d939573c77ba7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9811
Autosubmit: Profpatsch <mail@profpatsch.de>
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'fun/owothia/src')
0 files changed, 0 insertions, 0 deletions