Skip to content

Glossary: Next.js Beyond the Basics

Optimistic check

A quick check that trusts a hint, such as a session cookie existing, without asking the database. The proxy uses it, so requireUser still does the real check.

Where the book teaches it

Related terms

ProxyrequireUser and requireStaff