Caching Score: https://www.bejo.nl/sites/bejo-drupal/files/google_tag/bejo_nederland/google_tag.script.js?seyiu9

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 W/"668bbac0-15c" 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
Age1268856
Cache-Controlmax-age=2628001
Connectionkeep-alive
Content-Typeapplication/javascript
DateTue, 23 Jul 2024 14:13:29 GMT
ETagW/"668bbac0-15c"
ExpiresThu, 08 Aug 2024 07:45:54 GMT
Fastly-Debug-Digest36fd329afa021df7dbffcd1c4ee966c08a8599742bf9d8df8df05ae50f6ef28f
Fastly-Debug-Path(D cache-syd10120-SYD 1721744009) (F cache-syd10163-SYD 1721744009) (D cache-fra-etou8220105-FRA 1721744009) (F cache-fra-etou8220105-FRA 1720475153)
Fastly-Debug-TTL(H cache-syd10120-SYD - - 1268856) (H cache-fra-etou8220105-FRA 1359145.305 86400.000 1268856)
Fastly-Drupal-VCL-Uploaded8-1.0.2
Last-ModifiedMon, 08 Jul 2024 10:09:04 GMT
Server-TimingHIT, fastly;desc="Edge time";dur=0, HIT-CLUSTER, fastly;desc="Edge time";dur=1
Surrogate-Keywww.bejo.nl
VaryAccept-Encoding
Via1.1 varnish
X-CacheHIT
X-Cache-Hits1
X-LAGOONamazeeio-de3>ingress-nginx>bejo-com-production:nginx>nginx-864fbd94f5-457zz
X-Served-Bycache-syd10120-SYD
X-Service-Id1mvQMYU5Qrh0PzTkAm4JSF
X-Static-Asset1
X-TimerS1721744009.196906,VS0,VE1
X-Waf-Block0
X-Waf-Block-Id0
fastly-request-id1fb9e9980d5fee2c3b5e8eb9, fece7f6227b570b797f3b297
x-encoded-content-encodinggzip
x-encoded-content-length283

If you want to do this yourself

You can use the following cURL command:

curl -sIXGET -H 'Fastly-Debug: 1' 'https://www.bejo.nl/sites/bejo-drupal/files/google_tag/bejo_nederland/google_tag.script.js?seyiu9' | sort