Eliminate OTK Redis overhead and proxy log noise for message fetches

Performancekamo-internal
Shipped
March 12, 2026 at 3:03 AM UTC
Author
kamo
Commit
b17dbb1

- Bypass OTK generation in the MediaService proxy route: forward the *** cookie directly instead of generating a one-time key, removing 4 Redis round-trips per request (EXISTS + SETEX in Next.js, GET + DELETE in MediaService via OTKPreAuthFilter) - Remove 20 console.log/warn calls from generateOTK, buildForwardHeaders, forwardToApi, and forwardToMediaService that fired on every request

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing