Why it matters
Serving files from a location near the visitor shortens the distance data travels, and a CDN can also absorb traffic spikes and handle compression and caching for you.
Where you will see it
The free Compression & caching checker looks at this on a live page and explains what it finds in plain English: test Brotli and gzip compression, browser caching and HTTP/2 or HTTP/3, with server config fixes.
Related terms
- Cache-Control: An HTTP response header that tells browsers and CDNs whether and for how long they may reuse a stored copy of a file.
- TTFB: The time between a browser requesting a page and receiving the first byte of the response.
- HTTP/2 and HTTP/3: Newer versions of the protocol browsers use to talk to servers.
Go deeper
- Compression & caching: How gzip and Brotli compression and HTTP caching work, which settings to use for HTML, CSS, JavaScript and images, and how to turn them on in Nginx and Apache.