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.
SubscribeRelated
Fixed WindowRate LimitRatelimit.limit