Skip to content
masterclass Buddy

Upstash · Method

Ratelimit.cachedFixedWindow

Ratelimit.cachedFixedWindow applies a request limit within fixed time windows. It is useful when a simple window-based counter is enough.

Last updated

Syntax

Ratelimit.cachedFixedWindow(limit, window)

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

Subscribe
  • Fixed Window
  • Rate Limit
  • Ratelimit.limit

Source: Ratelimit Python SDK Algorithms - Upstash Documentation. Checked 2026-11-03.