98/230
What is this check, and why should you care
Using ETag
identifiers is an easy way to ensure your visitors are always getting the most up-to-date version of the content. This mechanism allows caches to be more efficient and saves bandwidth, as a Web server does not need to send a full response if the content has not changed. HTTP 304 responses are used to indicate this is working.
An HTTP request with the request header If-None-Match
with a value of "6761c588-15e9"
was sent, and an HTTP 304 was responded with.
See the Wikipedia page on ETag
for more background.
In order to get maximum points, you need to have ETag
identifiers and an HTTP 304 response must be received when using a valid If-None-Match
request header.
Maximum possible points
30
What is this check, and why should you care
Using Last-Modified
headers is an easy way to ensure your visitors are always getting the most up-to-date version of the content. HTTP 304 responses are used to indicate this is working.
An HTTP request with the request header If-Modified-Since
with a value of Tue, 17 Dec 2024 18:40:08 GMT
was sent, and an HTTP 304 was responded with.
Maximum possible points
30
What is this check, and why should you care
The time that it takes for a user's browser to receive the first byte of page content.
The lower the TTFB, the faster your site will be perceived by the end user.
In order to get maximum points, your TTFB must be less than or equal to 30ms. If your TTFB is more than 1 second then you get no points here.
Maximum possible points
50
What is this check, and why should you care
Using a caching proxy is extremely useful for caching purposes.
Maximum possible points
50
What is this check, and why should you care
Using a CDN is extremely useful for caching purposes.
Maximum possible points
50
What is this check, and why should you care
Caching HTTP 404s is a great way to offload requests from your origin.
In order to get maximum points, you need to have the ability to cache an HTTP 404 for any amount of time.
This check requested the URL https://golem.com/cachingscorebrokenurltest.
Maximum possible points
20
Name | Value |
---|---|
Status Code | HTTP 200 |
Connection | keep-alive |
Content-Type | text/html |
Date | Mon, 13 Jan 2025 07:21:51 GMT |
ETag | W/"6761c588-15e9" |
Last-Modified | Tue, 17 Dec 2024 18:40:08 GMT |
Server | openresty |
Transfer-Encoding | chunked |
Vary | Accept-Encoding |
x-encoded-content-encoding | gzip |
You can use the following cURL
command:
curl -sLIXGET 'https://golem.com/' | sort