Caching Score: https://www.vcat.vic.gov.au/sites/default/files/hotjar/hotjar.script.js?seomrz

Summary

GradeA+

405/405

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).

You can read more about which headers Fastly uses to indicate the cache lifetime.

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 "67c015d4-12" 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

What is this check, and why should you care

The purpose of HTTP compression is to reduce the size of the files sent by a CDN/web server by eliminating redundant information in those files. The smaller the size of the files, the more quickly they can be served over the World Wide Web.

On top of faster delivery, compression also reduces the amount of bandwidth used by the CDN/web server. This is especially important for mobile devices, where the bandwidth is often limited.

The response header Content-Encoding had a value of br.

Fastly has documentation on how to enable automatic compression.

See the Wikipedia page on HTTP compression for more background.

In order to get maximum points, you need to use Brotli or Zstandard compression.

Maximum possible points

20

HTTP Response headers

Name Value
Status Code HTTP 200
Accept-Rangesbytes
Age0
Cache-Controlmax-age=2628001
Connectionkeep-alive
Content-Encodingbr
Content-Length23
Content-Typeapplication/javascript
DateFri, 23 May 2025 00:50:13 GMT
ETag"67c015d4-12"
ExpiresSun, 22 Jun 2025 10:50:14 GMT
Fastly-Debug-Digest78d4cb851f441064f0952dff4584c0f7ac04945425386aa972b7a9ddd9ea26f4
Fastly-Debug-Path(D cache-wsi-ysbk1060065-WSI 1747961414) (F cache-wsi-ysbk1060049-WSI 1747961414) (D cache-syd10128-SYD 1747961414) (F cache-syd10128-SYD 1747961414)
Fastly-Debug-TTL(H cache-wsi-ysbk1060065-WSI - - 0) (M cache-syd10128-SYD - - 0)
Fastly-Drupal-VCL-Uploaded8-1.0.2
Last-ModifiedThu, 27 Feb 2025 07:35:48 GMT
Server-TimingMISS, fastly;desc="Edge time";dur=20, HIT-CLUSTER, fastly;desc="Edge time";dur=1
Surrogate-Keywww.vcat.vic.gov.au
VaryAccept-Encoding
Via1.1 varnish
X-CacheHIT
X-Cache-Hits1
X-LAGOONamazeeio-dh1>sigsci-ingress-nginx>vcat-website-drupal8-2020-deploy-lagoon-production:nginx>nginx-6969b99c4d-fkztr
X-Served-Bycache-wsi-ysbk1060065-WSI
X-Service-Id0VfjtEv26MEnPZwvF4qtZO
X-Static-Asset1
X-TimerS1747961414.977767,VS0,VE1
X-Waf-Block0
X-Waf-Block-Id0
alt-svch3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
fastly-request-ide7ec2d8f4c482770b0e51b2a, dbc8d12ee1e6e1693c7a37f5

If you want to do this yourself

You can use the following cURL command:

curl -sIXGET -H 'Fastly-Debug: 1' -H 'Accept-Encoding: br, zstd, gzip, deflate' 'https://www.vcat.vic.gov.au/sites/default/files/hotjar/hotjar.script.js?seomrz' | sort