Caching Score: https://www.rocmn.nl/sites/rocmn/files/styles/header_image_mobile/public/uploads/vijf-studenten-staan-naast-elkaar-en-lachen.jpg?itok=xlgF5VHf

Summary

GradeA+

385/385

Requested URL checks

What is this check, and why should you care

Having a cache hit ensures the fastest possible delivery of content to end users.

The response header X-Cache had a value of HIT.

Fastly has documentation on how to interpret the X-Cache header.

Maximum possible points

100

What is this check, and why should you care

Using a long cache lifetime helps to ensure a high cache hit rate.

In order to get maximum points, your cache lifetime must be greater than or equal to 4 weeks. If your cache lifetime is less, then you will get some proportion of the score based on how close to 4 weeks you are.

Current cache lifetime is 2628010 seconds (1 month and 2 days).

Maximum possible points

100

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

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 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 "6552e1c2-15c3f" 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 was sent, and an HTTP 304 was responded with.

Maximum possible points

30

What is this check, and why should you care

Having tiered caching can help improve the cache hit ratio of your site because it provides an additional layer of caching in front of your origin.

Maximum possible points

25

HTTP Response headers

Name Value
Status Code HTTP 200
Accept-Rangesbytes
Age2466050
Cache-Controlmax-age=2628001
Connectionkeep-alive
Content-Length89151
Content-Typeimage/jpeg
DateTue, 23 Jul 2024 13:42:23 GMT
ETag"6552e1c2-15c3f"
ExpiresFri, 24 May 2024 17:40:12 GMT
Fastly-Debug-Digeste861878227b0e293f71bae8eaf31af0ba95fd2aacbd0ae62aac860b324a2c225
Fastly-Debug-Path(D cache-syd10166-SYD 1721742144) (F cache-syd10157-SYD 1720400428) (D cache-fra-etou8220100-FRA 1720400428) (F cache-fra-eddf8230089-FRA 1713944411)
Fastly-Debug-TTL(H cache-syd10166-SYD - - 2466050) (H cache-fra-etou8220100-FRA 1503666.537 86400.000 1124334)
Fastly-Drupal-VCL-Uploaded8-1.0.2
Last-ModifiedTue, 14 Nov 2023 02:56:02 GMT
Server-TimingHIT, fastly;desc="Edge time";dur=0, HIT-CLUSTER, fastly;desc="Edge time";dur=1
Surrogate-Keywww.rocmn.nl
Via1.1 varnish
X-CacheHIT
X-Cache-Hits1
X-LAGOONamazeeio-de3>ingress-nginx>rocmn-nl-production:nginx>nginx-66bfd9c6db-7pwf8
X-Served-Bycache-syd10166-SYD
X-Service-Id1mvQMYU5Qrh0PzTkAm4JSF
X-Static-Asset1
X-TimerS1721742144.531798,VS0,VE1
X-Waf-Block0
X-Waf-Block-Id0
fastly-request-idfdc139cdd6b56d6789e89407, d8415e5f24390c8ebaac506b

If you want to do this yourself

You can use the following cURL command:

curl -sIXGET -H 'Fastly-Debug: 1' 'https://www.rocmn.nl/sites/rocmn/files/styles/header_image_mobile/public/uploads/vijf-studenten-staan-naast-elkaar-en-lachen.jpg?itok=xlgF5VHf' | sort