Caching Score: https://www.greaterzuricharea.com/sites/default/files/styles/full_width_1280/public/2020-11/header-home-page-precision-technology-4.jpg?itok=Q8PLj8tt

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, 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 "5fb7a432-fa63" 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
Age149784
Cache-Controlmax-age=2628001
Connectionkeep-alive
Content-Length64099
Content-Typeimage/jpeg
DateSun, 08 Sep 2024 01:34:04 GMT
ETag"5fb7a432-fa63"
ExpiresSun, 22 Sep 2024 22:33:51 GMT
Fastly-Debug-Digest989207e1f54952aa1c770b166d0066e370226b78cffbd9d497530e0887a324c9
Fastly-Debug-Path(D cache-syd10181-SYD 1725759245) (F cache-syd10166-SYD 1725759244) (D cache-fra-etou8220154-FRA 1725759244) (F cache-fra-etou8220154-FRA 1724416431)
Fastly-Debug-TTL(H cache-syd10181-SYD - - 149784) (H cache-fra-etou8220154-FRA 2478217.421 43200.000 149784)
Fastly-Drupal-VCL-Uploaded8-1.0.3
Last-ModifiedFri, 20 Nov 2020 11:10:42 GMT
Server-TimingHIT, fastly;desc="Edge time";dur=1, HIT-CLUSTER, fastly;desc="Edge time";dur=1
Via1.1 varnish, 1.1 varnish
X-CacheHIT, HIT
X-Cache-Hits4, 1
X-LAGOONamazeeio-ch4>ingress-nginx>greaterzuricharea-com-prod:nginx>nginx-558f8f7688-pr44t
X-OriginCH4https
X-Served-Bycache-fra-etou8220154-FRA, cache-syd10181-SYD
X-TimerS1725759245.539318,VS0,VE1
fastly-request-id432e2c7999057d64dadcb35c, 632cd5c4eabac2ef2ae638fc

If you want to do this yourself

You can use the following cURL command:

curl -sIXGET -H 'Fastly-Debug: 1' 'https://www.greaterzuricharea.com/sites/default/files/styles/full_width_1280/public/2020-11/header-home-page-precision-technology-4.jpg?itok=Q8PLj8tt' | sort