Skip to content
masterclass Buddy

Upstash · Concept

ephemeralCache

The TypeScript rate limiter can use a local ephemeral cache to reject repeated blocked identifiers without calling Redis. It also supports a timeout and optional analytics collection.

Last updated

Syntax

new Ratelimit({ redis, limiter, ephemeralCache, timeout, analytics })

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Ratelimit
  • Redis
  • slidingWindow
  • limit
  • analytics
  • timeout

Source: Ratelimit TypeScript SDK Features - Upstash Documentation. Checked 2026-11-03.