Rate Limit
Cap how many requests each client or user can make, and reject the extra ones with a 429 error.
Deploys on
nuxt.config.ts
export default defineNuxtConfig({
modules: ['vite-hub/nuxt'],
vitehub: {
host: 'node',
// On Node, counts stay in memory. Turn on shared KV to share them.
rateLimit: true,
},
})Deploy on
Node / Docker: memory, or KV
Count per user or per team
Each client IP address has its own count. Pass
key to count per user or team.Memory on Node, native on Cloudflare
Node counts in memory. Cloudflare uses Cloudflare Rate Limiting.