What AuditX checks
A browser that has the homepage in its cache can ask the server whether it changed, by sending back the ETag or Last-Modified value it got. The scan does the same with one extra request: If-None-Match with the ETag, or If-Modified-Since with the Last-Modified date when there is no ETag. It sends only that header and no cache-busting headers. An answer of 304 Not Modified is a pass. A full 200 answer is a warning, which counts toward the technical score at 40 percent of what a fail would cost, unless the validator was different on the second answer. Then the page really changes between requests and the result is an info note. A homepage that sends neither header gets an info note too, common for pages built fresh for each visitor. Other answers, or a request that does not finish, give an info note, which does not lower the score. When the ETag ends in -gzip or -br, the warning names the Apache compression setting that adds that mark and then fails to match it. The scan checks the homepage only.
Why it matters
MDN explains that when a resource has not changed, the server sends back 304 Not Modified, the cache becomes fresh again and the client uses the cached copy, which spares bandwidth.
A server that hands out a validator but ignores it makes every returning visitor download the full page again for no reason.
How to fix it
- Check the setting for conditional requests (If-None-Match and If-Modified-Since) on your server, CDN or caching plugin.
- On Apache 2.4.58 or later with an ETag ending in -gzip or -br, set DeflateAlterETag Remove or BrotliAlterETag Remove.
- If you cannot fix it, stop sending the ETag so browsers fall back to Last-Modified.
- Test with curl: request the page with the ETag in If-None-Match and look for 304.
curl -I https://example.com/ -H "If-None-Match: \"5f2a-61b\""
# HTTP/2 304
Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.
Scan my site