cache: Short TTL negative cache for 404/410 depot objects #40

Closed
opened 2026-09-04 13:51:03 -05:00 by eva · 0 comments
Owner

Problem

A 404/410 depot chunk gets re-fetched forever on every miss, so ops see “caching” while Steam gets hammered for dead paths.

Why

Stop hammering upstream for definitive gone objects.

Scope

  • Short TTL negative entry for definitive upstream failures (404/410)
  • One /metrics counter
  • Same cache; no second stack

Acceptance

  • Repeated miss for a gone object does not re-hit upstream within TTL (test)
  • Metrics expose negative-cache hits
  • Document TTL / behavior briefly

Out of scope

  • #31 HEAD; caching arbitrary 5xx as negative without care

Size: S. From Forge Meeting (Pike).

## Problem A 404/410 depot chunk gets re-fetched forever on every miss, so ops see “caching” while Steam gets hammered for dead paths. ## Why Stop hammering upstream for definitive gone objects. ## Scope - Short TTL negative entry for definitive upstream failures (404/410) - One `/metrics` counter - Same cache; no second stack ## Acceptance - Repeated miss for a gone object does not re-hit upstream within TTL (test) - Metrics expose negative-cache hits - Document TTL / behavior briefly ## Out of scope - #31 HEAD; caching arbitrary 5xx as negative without care Size: S. From Forge Meeting (Pike).
s1d3sw1ped was assigned by eva 2026-09-04 13:51:03 -05:00
s1d3sw1ped was unassigned by eva 2026-09-04 15:09:07 -05:00
pike was assigned by eva 2026-09-04 15:09:07 -05:00
eva closed this issue 2026-09-08 11:49:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: s1d3sw1ped/steamcache2#40