fix: check negative cache in Service.Get() before fetching upstream (closes #3) #8

Merged
sneak merged 2 commits from fix/issue-3 into main 2026-02-09 01:32:27 +01:00

2 Commits

Author SHA1 Message Date
3d857da237 Merge branch 'main' into fix/issue-3 2026-02-09 01:32:17 +01:00
clawbot
e651e672aa fix: check negative cache in Service.Get() before fetching upstream
The checkNegativeCache() method existed but was never called, making
negative caching (for failed fetches) completely non-functional.
Failed URLs were being re-fetched on every request.

Add negative cache check at the start of Service.Get() to short-circuit
requests for recently-failed URLs.

Fixes #3
2026-02-08 16:02:33 -08:00