Skip to main content

Request Data and Configuration

Cookies, headers, environment variables, and next.config influence rendering, caching, security, and deployment. Treat them as explicit inputs with ownership and validation, not convenient globals.

Reading request-specific data can make work dynamic. Document that consequence where the data is consumed.