Fix mutable path refresh: default mutable_ttl, revalidate after expiry #151

Merged
benvin merged 3 commits from benvin/mutable-refresh into master 2026-10-17 17:17:41 +11:00

3 Commits

Author SHA1 Message Date
unkin-agent 6a7eff9379 Stop storing ETags for immutable paths
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
2026-10-17 16:56:58 +11:00
unkin-agent 3c76902533 Bound the mutable ETag TTL and flush Redis state on remote delete
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
2026-10-17 16:51:37 +11:00
unkin-agent 9eb8ef384f Default omitted mutable_ttl and keep the ETag past TTL expiry
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
- default mutable_ttl to 3600 on create and keep the stored value on update
- store mutable ETags without a TTL so expiry revalidates with If-None-Match
- drop the stored ETag when a refetch returns none
2026-10-17 16:25:22 +11:00