Coding prompt

Implement Redis Rate Limiting

Redis sliding window rate limiting middleware with per-user and per-IP tiers, proper headers, and graceful degradation.

Implement Redis-backed rate limiting for {{project_name}}.

## Public limit: {{public_limit}} requests per {{public_window}}
## Auth limit: {{auth_limit}} requests per {{auth_window}}

### Algorithm: Sliding Window with Redis Sorted Sets…

The full prompt is free with an account.

Sign up free to read it

It has 5 blanks, such as {{project_name}}, {{public_limit}} and {{public_window}}. In Loopy you fill them in a form and copy the finished prompt in one click.