Skip to content

Glossary: Redis and Caching

preHandler

A Fastify hook that runs before the route handler and can stop it by throwing. The `rateLimit()` function returns one.

Where the book teaches it

Related terms

Rate limit