Files
direct-img.link/functions
multipleof4andClaude Opus 5.5 2acd6bb4a8 Perf: Cache images in R2 alone instead of KV + R2
A cached image is now one R2 lookup instead of a KV lookup followed by an R2 one, using the type and upload time R2
already stores with it. A failed search leaves an empty R2 object marked err (bad.webp for 24h) instead of a KV
entry. This also stops the KV write per new image, which reached 46% of the free daily limit. KV now only holds
access tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 17:46:16 +00:00
..