Skip to content
Skip to content

HTTP Headers Reference

Complete guide to HTTP headers — learn what each header does, how to configure it, and why it matters for security and performance.

Security

Response

Caching

CORS

Request

Check your website's HTTP headers right now

Check headers →

Frequently Asked Questions

What are HTTP headers?

HTTP headers are metadata sent with every request and response. They control caching, security, content type, CORS, authentication, and other aspects of HTTP communication.

What categories of HTTP headers exist?

Main categories: security headers (CSP, HSTS, X-Frame-Options), caching (Cache-Control, ETag), CORS (Access-Control-*), response (Content-Type, Content-Length), request (Accept, User-Agent, Authorization).

Which security headers are mandatory?

Minimum set: Strict-Transport-Security (HSTS), X-Content-Type-Options: nosniff, X-Frame-Options. Recommended: Content-Security-Policy, Permissions-Policy, Referrer-Policy. Check your headers with our HTTP checker.

How does caching work through headers?

Cache-Control defines caching policy: max-age (lifetime), no-cache (check freshness), no-store (do not cache). ETag and Last-Modified allow the browser to check if a resource has changed without re-downloading it.

What are CORS headers?

CORS (Cross-Origin Resource Sharing) is a mechanism that allows web pages to request resources from other domains. Key headers: Access-Control-Allow-Origin, Access-Control-Allow-Methods, Access-Control-Allow-Headers.