Server performance problems: slow TTFB, compression and caching
Server performance decides how soon the first byte of a page arrives and how efficiently every file is delivered. These checks look for slow responses over 800 ms, missing or broken compression, no HTTP/2, an unstable server, static files without caching or ETag, a missing Vary header on compressed responses and no IPv6. Compress responses, cache static files and keep the server answering quickly.
How the problem happens
The server runs without compression or caching rules, pages are built on every request, or a plugin or database query makes the first response slow. A proxy in front may remove headers that the origin sets.
Why server behavior limits speed, crawling and reliability
Before a browser can paint anything, the server has to answer. The time to first byte (TTFB) is the wait between the request and the first piece of the response, and every other speed metric starts after it. A TTFB above about 800 milliseconds means the page is slow before any code runs, and it also slows the crawler: Googlebot adapts its crawl rate to how quickly and reliably a server responds, so a slow or error-prone host can get fewer visits and new content can be found later.
The other checks in this family are about delivery. Without compression a page can be several times heavier than needed. Without caching headers the browser downloads the same style sheet again on every visit. Without HTTP/2 many resources queue behind each other. A server that fails some requests and succeeds on retry produces errors that are hard to reproduce and costs trust with crawlers. And a compression bug, where the server announces a compressed body that cannot be decoded, makes browsers and search engines show an error instead of the page.
How to check server performance by hand
Measure a few times, from more than one place, because a single number is noisy. The curl command below prints the time to first byte, the HTTP version used and the number of bytes downloaded for one URL; run it several times and compare pages. Look at the response headers of the page and of a style sheet or script: Content-Encoding should show br or gzip for text, and static files should carry Cache-Control with a long max-age plus an ETag or Last-Modified.
Check the protocol with curl -I --http2 and, if you use a CDN, whether the headers show a cache hit on the second request. Verify that compressed responses carry Vary: Accept-Encoding, or a cache may hand a compressed file to a client that cannot read it. To test stability, request the same URL repeatedly and watch for sporadic 5xx errors or timeouts. Your own server logs and monitoring show slow requests and error bursts that single tests miss.
# time to first byte and protocol of one URL
curl -s -w '\nttfb %{time_starttransfer}s http %{http_version}\n' https://example.com/ | tail -n 2
# compression and caching headers of the same URL
curl -s -I -H 'Accept-Encoding: br, gzip' https://example.com/ | grep -i -E '^(content-encoding|vary|cache-control)'
# Nginx: compression, HTTP/2 and long-lived static caching
gzip on;
gzip_types text/css application/javascript application/json image/svg+xml;
listen 443 ssl http2;
location ~* \.(css|js|woff2|avif|webp|png|jpg)$ {
add_header Cache-Control "public, max-age=31536000, immutable";
add_header Vary "Accept-Encoding";
}How to fix server performance in code, server and CMS
Start with the slow response: find where the time goes, usually database queries, rendering that is not cached or a slow upstream call. Cache rendered pages or fragments, add the missing database indexes, and put a CDN in front for static files and, where safe, for HTML. Enable Brotli or gzip for text formats and check that the configuration really produces a valid compressed body, with Vary: Accept-Encoding on the response.
Serve static files with long-lived Cache-Control headers and fingerprinted filenames, so a changed file gets a new name and the old one can be cached for a year. Add ETag or Last-Modified so that browsers can cheaply check whether a file changed. Enable HTTP/2, or HTTP/3 where your host supports it, and add IPv6 if it is easy on your platform, though it is not critical. If requests fail intermittently, look at worker limits, memory, timeouts and the health of the upstream services before you add hardware. In a CMS, a caching plugin plus a CDN often solves most of this.
How RankDossier detects server performance problems
RankDossier measures response times during its crawl and reads the headers of pages and static files. The checks in this family report pages with a TTFB over 800 milliseconds, missing HTML compression, broken compression where the declared encoding cannot be decoded, no HTTP/2, an unstable server where requests fail and then work on retry, static files without caching, static files without ETag or Last-Modified, compressed responses without Vary: Accept-Encoding, and the absence of IPv6. An informational check lists the protocols, CDN and compression that were detected.
Each finding names the address and the measured value or header. Test one page with the Website speed test. The Core Web Vitals guide explains how server delay feeds into the metrics visitors feel, the technical SEO audit guide places the server among the crawl signals, and the mobile SEO guide covers why slow responses hurt most on phones and weaker networks.
Wrong and right
Wrong
GET / -> 200 in 1,900 ms
Content-Encoding: (none)
Cache-Control: (none) on /assets/app.js
Right
GET / -> 200 in 300 ms
Content-Encoding: br
Cache-Control: public, max-age=31536000, immutable on /assets/app.js
How to fix it
WordPress
Install a page caching plugin, use a recent PHP version, enable compression at the host, and reduce slow plugins and database queries that run on every request.
Next.js
Keep compress on, cache pages that do not change per visitor, and send long-lived Cache-Control headers for fingerprinted static files from the headers function.
// next.config.js
module.exports = {
compress: true,
async headers() {
return [{ source: '/_next/static/:path*', headers: [
{ key: 'Cache-Control', value: 'public, max-age=31536000, immutable' },
] }];
},
};
Nginx
Enable gzip or brotli with gzip_vary, set expires for static files, listen with http2, and check that the Vary header appears on compressed responses.
gzip on;
gzip_types text/css application/javascript application/json image/svg+xml;
gzip_vary on;
listen 443 ssl http2;
location /assets/ { expires 1y; }
Check codes in this family
These checks belong to this family. Each code appears in the audit report with its own explanation and fix.
SERVER_TTFB_SLOWSlow pages (TTFB over 800 ms)SERVER_NO_COMPRESSIONNo HTML compressionSERVER_BROKEN_COMPRESSIONBroken page compressionSERVER_NO_HTTP2No HTTP/2SERVER_UNSTABLEUnstable serverSERVER_NO_CACHE_STATICStatic files are not cachedSERVER_NO_IPV6No IPv6SERVER_NO_ETAGStatic files without ETag/Last-ModifiedSERVER_VARY_MISSINGCompressed responses without Vary: Accept-EncodingSERVER_INFRAServer and infrastructure
Related check families
Read the full guide PageSpeed Insights score and Core Web Vitals: LCP, INP and CLS for the wider picture. Test one page for free with the Website speed test.
Check your own site
Enter a domain – the free pre-check reads up to 10 pages and shows how many types of problems it finds. You pay only if you want the full report.
Start the free pre-check