Caching Score: https://www.rocmn.nl/sites/rocmn/files/google_tag/primary/google_tag.script.js?sh8d7p

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 2628001 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 W/"66dd0b7c-15d" 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
Age0
Cache-Controlmax-age=2628001
Connectionkeep-alive
Content-Typeapplication/javascript
DateSun, 08 Sep 2024 03:04:06 GMT
ETagW/"66dd0b7c-15d"
ExpiresTue, 08 Oct 2024 13:04:06 GMT
Fastly-Debug-Digest270827670d52a3190304d91383dfe2e35212c665ac15378b807bf1be58ae1759
Fastly-Debug-Path(D cache-syd10142-SYD 1725764646) (F cache-syd10168-SYD 1725764646) (D cache-fra-eddf8230115-FRA 1725764646) (F cache-fra-etou8220086-FRA 1725764646)
Fastly-Debug-TTL(H cache-syd10142-SYD - - 0) (M cache-fra-eddf8230115-FRA - - 0)
Fastly-Drupal-VCL-Uploaded8-1.0.2
Last-ModifiedSun, 08 Sep 2024 02:27:08 GMT
Server-TimingMISS-CLUSTER, fastly;desc="Edge time";dur=22, HIT-CLUSTER, fastly;desc="Edge time";dur=1
Surrogate-Keywww.rocmn.nl
VaryAccept-Encoding
Via1.1 varnish
X-CacheHIT
X-Cache-Hits1
X-LAGOONamazeeio-de3>ingress-nginx>rocmn-nl-production:nginx>nginx-78f9c87744-kg5hc
X-Served-Bycache-syd10142-SYD
X-Service-Id1mvQMYU5Qrh0PzTkAm4JSF
X-Static-Asset1
X-TimerS1725764646.165206,VS0,VE1
X-Waf-Block0
X-Waf-Block-Id0
fastly-request-id85a41d0b2e31943193279b7b, e73c408ef21d5ca99cf6a72d
x-encoded-content-encodinggzip
x-encoded-content-length282

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/google_tag/primary/google_tag.script.js?sh8d7p' | sort