From d3a1035d0d718f64544ac0b440161b777d4af957 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 09:48:18 -1000 Subject: Describe what the cache tests cover --- tests/t0003-cache.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/t0003-cache.sh b/tests/t0003-cache.sh index 365e257..d8051d9 100755 --- a/tests/t0003-cache.sh +++ b/tests/t0003-cache.sh @@ -1,7 +1,10 @@ #!/bin/sh -# Exercises the cache. The first three tests set cache-size to nothing, one -# slot and the full table in turn, then count what the requests left behind. +# Checks the page cache and the scan cache. A page is kept in a slot named +# after its request, filled under a lock that a second request must respect, +# and served stale while another request refreshes it, within the ttls and +# size bounds cgitrc sets. A scan-path list is kept in a file named after the +# settings that shaped it and rebuilt in the background once it expires. test_description='Validate cache' . ./setup.sh -- cgit 2.12.1