Caching Score: https://www.greaterzuricharea.com/sites/default/files/js/js_QuII2SEc72pTLShy12uemNgALxy3yDwPY1KD58veJtY.js?scope=footer&delta=1&language=en&theme=greater_zurich_area&include=eJx1UFtuwzAMu5BnH8mQbcZxKz_mR5v09HPXDAOW9UeCCJIS1fbWEZWhBuErqKPqx6jBrprmqJZKthMLbJ1DuipXRyGWxygwtM35GjBbLBwoWaj_QG2mnbjDLLlGdXT5LCcQjIjUpUOnwE02up2Vf0k9e89nGl1oe6uNaI08hM0VKqQZPc1ol8-Bur9Oq7BUul1JHxp1Qt66L4zN5E0UquQrlbX9PO8XkSOVYTi0FU7cAu5NfVcZsxszzvQJfdeIBk49F4ecJs8hvzC9BLBTTI_9gzO5L5RhtKo

Summary

GradeF

102/435

Requested URL checks

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

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

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

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

The response header X-Cache had a value of MISS, MISS.

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 0 seconds (0 seconds).

Maximum possible points

100

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.

No ETag header was found in the response.

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.

No Last-Modified header was found in the response.

Maximum possible points

30

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://www.greaterzuricharea.com/cachingscorebrokenurltest.

Maximum possible points

20

What is this check, and why should you care

You can increase the cache hit rate of your site by stripping certain query parameters from the cache key.

FBCLID is one such parameter that can be stripped by your caching server. This query parameter only really serves a purpose for Javascript to read, and Javascript can still read it from the browser URL.

You can add this VCL snippet to your Fastly service (in the recv subroutine). Fastly documentation on querystring.filter.

This check requested the URL https://www.greaterzuricharea.com/sites/default/files/js/js_QuII2SEc72pTLShy12uemNgALxy3yDwPY1KD58veJtY.js?scope=footer&delta=1&language=en&theme=greater_zurich_area&include=eJx1UFtuwzAMu5BnH8mQbcZxKz_mR5v09HPXDAOW9UeCCJIS1fbWEZWhBuErqKPqx6jBrprmqJZKthMLbJ1DuipXRyGWxygwtM35GjBbLBwoWaj_QG2mnbjDLLlGdXT5LCcQjIjUpUOnwE02up2Vf0k9e89nGl1oe6uNaI08hM0VKqQZPc1ol8-Bur9Oq7BUul1JHxp1Qt66L4zN5E0UquQrlbX9PO8XkSOVYTi0FU7cAu5NfVcZsxszzvQJfdeIBk49F4ecJs8hvzC9BLBTTI_9gzO5L5RhtKo&fbclid=1721745857.

Maximum possible points

10

What is this check, and why should you care

You can increase the cache hit rate of your site by stripping certain query parameters from the cache key.

GCLID and GCLSRC are two such parameters that can be stripped by your caching server. These query parameters only really serve a purpose for Javascript to read, and Javascript can still read it from the browser URL.

You can add this VCL snippet to your Fastly service (in the recv subroutine). Fastly documentation on querystring.filter.

This check requested the URL https://www.greaterzuricharea.com/sites/default/files/js/js_QuII2SEc72pTLShy12uemNgALxy3yDwPY1KD58veJtY.js?scope=footer&delta=1&language=en&theme=greater_zurich_area&include=eJx1UFtuwzAMu5BnH8mQbcZxKz_mR5v09HPXDAOW9UeCCJIS1fbWEZWhBuErqKPqx6jBrprmqJZKthMLbJ1DuipXRyGWxygwtM35GjBbLBwoWaj_QG2mnbjDLLlGdXT5LCcQjIjUpUOnwE02up2Vf0k9e89nGl1oe6uNaI08hM0VKqQZPc1ol8-Bur9Oq7BUul1JHxp1Qt66L4zN5E0UquQrlbX9PO8XkSOVYTi0FU7cAu5NfVcZsxszzvQJfdeIBk49F4ecJs8hvzC9BLBTTI_9gzO5L5RhtKo&gclsrc=1721745857&gclid=1721745857.

Maximum possible points

10

What is this check, and why should you care

You can increase the cache hit rate of your site by stripping certain query parameters from the cache key.

UTM is a collection of parameters that can be stripped by your caching server. These query parameters only really serve a purpose for Javascript to read, and Javascript can still read them from the browser URL.

You can add this VCL snippet to your Fastly service (in the recv subroutine). Fastly documentation on querystring.filter.

This check requested the URL https://www.greaterzuricharea.com/sites/default/files/js/js_QuII2SEc72pTLShy12uemNgALxy3yDwPY1KD58veJtY.js?scope=footer&delta=1&language=en&theme=greater_zurich_area&include=eJx1UFtuwzAMu5BnH8mQbcZxKz_mR5v09HPXDAOW9UeCCJIS1fbWEZWhBuErqKPqx6jBrprmqJZKthMLbJ1DuipXRyGWxygwtM35GjBbLBwoWaj_QG2mnbjDLLlGdXT5LCcQjIjUpUOnwE02up2Vf0k9e89nGl1oe6uNaI08hM0VKqQZPc1ol8-Bur9Oq7BUul1JHxp1Qt66L4zN5E0UquQrlbX9PO8XkSOVYTi0FU7cAu5NfVcZsxszzvQJfdeIBk49F4ecJs8hvzC9BLBTTI_9gzO5L5RhtKo&utm_source=1721745858&utm_medium=1721745858&utm_campaign=1721745858&utm_id=1721745858.

Maximum possible points

10

HTTP Response headers

Name Value
Status Code HTTP 301
Accept-Rangesbytes
Cache-Controlno-store, no-cache, must-revalidate, max-age=0
Connectionkeep-alive
Content-Length2182
Content-Typetext/html; charset=utf-8
Content-languageen
DateTue, 23 Jul 2024 14:44:15 GMT
ExpiresSun, 19 Nov 1978 05:00:00 GMT
Fastly-Debug-Digest6f255f21414adb5c71a55fc4484ceb9622cd63f2f962354f44eb96ee2ea85a4f
Fastly-Debug-Path(D cache-syd10150-SYD 1721745855) (F cache-syd10150-SYD 1721745855) (D cache-fra-eddf8230088-FRA 1721745855) (F cache-fra-eddf8230137-FRA 1721745855)
Fastly-Debug-TTL(M cache-syd10150-SYD - - -) (M cache-fra-eddf8230088-FRA - - -)
Fastly-Drupal-HTMLYES
Fastly-Drupal-VCL-Uploaded8-1.0.3
Locationhttps://www.greaterzuricharea.com/en/sites/default/files/js/js_QuII2SEc72pTLShy12uemNgALxy3yDwPY1KD58veJtY.js?scope=footer&delta=1&language=en&theme=greater_zurich_area&include=eJx1UFtuwzAMu5BnH8mQbcZxKz_mR5v09HPXDAOW9UeCCJIS1fbWEZWhBuErqKPqx6jBrprmqJZKthMLbJ1DuipXRyGWxygwtM35GjBbLBwoWaj_QG2mnbjDLLlGdXT5LCcQjIjUpUOnwE02up2Vf0k9e89nGl1oe6uNaI08hM0VKqQZPc1ol8-Bur9Oq7BUul1JHxp1Qt66L4zN5E0UquQrlbX9PO8XkSOVYTi0FU7cAu5NfVcZsxszzvQJfdeIBk49F4ecJs8hvzC9BLBTTI_9gzO5L5RhtKo
Server-TimingPASS, fastly;desc="Edge time";dur=103, PASS, fastly;desc="Edge time";dur=395
Surrogate-Controlmust-revalidate, no-cache, private, stale-while-revalidate=14440, stale-if-error=604800
Surrogate-KeyxSNL cAye EjtO
Via1.1 varnish, 1.1 varnish
X-CacheMISS, MISS
X-Cache-Hits0, 0
X-Drupal-Route-Normalizer1
X-LAGOONamazeeio-ch4>ingress-nginx>greaterzuricharea-com-prod:nginx>nginx-6f9f57d8cd-9bvdl
X-OriginCH4https
X-Served-Bycache-fra-eddf8230088-FRA, cache-syd10150-SYD
X-TimerS1721745855.976645,VS0,VE395
fastly-request-idca8932e3847087d3ee0a2c70, ca8932e3847087d3ee0a2c70

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/js/js_QuII2SEc72pTLShy12uemNgALxy3yDwPY1KD58veJtY.js?scope=footer&delta=1&language=en&theme=greater_zurich_area&include=eJx1UFtuwzAMu5BnH8mQbcZxKz_mR5v09HPXDAOW9UeCCJIS1fbWEZWhBuErqKPqx6jBrprmqJZKthMLbJ1DuipXRyGWxygwtM35GjBbLBwoWaj_QG2mnbjDLLlGdXT5LCcQjIjUpUOnwE02up2Vf0k9e89nGl1oe6uNaI08hM0VKqQZPc1ol8-Bur9Oq7BUul1JHxp1Qt66L4zN5E0UquQrlbX9PO8XkSOVYTi0FU7cAu5NfVcZsxszzvQJfdeIBk49F4ecJs8hvzC9BLBTTI_9gzO5L5RhtKo' | sort