Referer: The URL of the page that initiated the request. (Note the historic misspelling — it is "Referer", not "Referrer".) The Referer header tells a server which page the visitor came from, such as the page with the link they clicked. The spelling with one "r" is a famous typo from the original HTTP specification that stuck.
Analytics tools use it to see where traffic comes from, and some servers use it as a weak check that a request came from their own site.
What should you keep in mind with Referer?
It can leak information. A full URL can contain search terms, IDs or even tokens, and sending it to every external site you link to is a privacy risk. Browsers now default to sending only the origin for cross-site requests, and you can control this with the Referrer-Policy header. Never rely on the referer for security, because clients can change or omit it.
Use when reviewing or setting HTTP response headers for a web app or API - security headers (Content-Security-Policy, Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy), CORS headers, caching headers (Cache-Control, ETag, Last-Modified, Vary) and cookies (Set-Cookie flags). Also use when a security scan reports missing headers.
'Expert-level browser automation, debugging, and performance analysis using Chrome DevTools MCP. Use for interacting with web pages, capturing screenshots, analyzing network traffic, and profiling performance.'
OWASP Top 10 security audit and secure coding guidelines for Laravel + React/Inertia.js applications. Use when auditing for vulnerabilities ("run OWASP audit", "security review", "check my app security") or writing secure Laravel code involving auth, payments, file uploads, or API design. Triggers on security-related tasks, payment handling, authentication, or any request to audit a Laravel codeba