Caching Score: https://www.vcat.vic.gov.au/sites/default/files/2020-07/Chevron.png

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 "5f0d4efb-6060" 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
Age166927
Cache-Controlmax-age=2628001
Connectionkeep-alive
Content-Length24672
Content-Typeimage/png
DateSun, 08 Sep 2024 03:06:50 GMT
ETag"5f0d4efb-6060"
ExpiresSun, 06 Oct 2024 14:44:45 GMT
Fastly-Debug-Digest1898fe8c1cbf976b6f22a1e211d3231208d2e0788ddb6aa37b9c4dfb9aad3be8
Fastly-Debug-Path(D cache-syd10133-SYD 1725764811) (F cache-syd10175-SYD 1725597884)
Fastly-Debug-TTL(H cache-syd10133-SYD 2461073.874 86400.000 166927)
Fastly-Drupal-VCL-Uploaded8-1.0.2
Last-ModifiedTue, 14 Jul 2020 06:21:47 GMT
Server-TimingHIT, fastly;desc="Edge time";dur=0
Surrogate-Keywww.vcat.vic.gov.au
Via1.1 varnish
X-CacheHIT
X-Cache-Hits2
X-LAGOONamazeeio-dh1>sigsci-ingress-nginx>vcat-website-drupal8-2020-deploy-lagoon-production:nginx>nginx-7cd557645d-9pkv4
X-Served-Bycache-syd10133-SYD
X-Service-Id0VfjtEv26MEnPZwvF4qtZO
X-Static-Asset1
X-TimerS1725764811.724823,VS0,VE0
X-Waf-Block0
X-Waf-Block-Id0
alt-svch3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
fastly-request-idcff3b761c285bb1d8f23676f

If you want to do this yourself

You can use the following cURL command:

curl -sIXGET -H 'Fastly-Debug: 1' 'https://www.vcat.vic.gov.au/sites/default/files/2020-07/Chevron.png' | sort