Caching Score: https://www.ogtr.gov.au/sites/default/files/js/js_2nPcaJsU0IeH85Rz-RR76Wj6pnHwGCbt_acSj3-NSl4.js?scope=footer&delta=0&language=en&theme=ogtr&include=eJxdjFEKAjEMBS_UbY8kqc2mwWxTklRZT68IIvjzZpiPR6okeIEBcgZfvdBfSH564FEqOKaOINELiVaQpBT29QkGZDC7l2ZrguRfyWvMVYW9Y_teHLvBeN4wi0LjQRtEGNcVuE2Vc2eRdGd8ePlsPrQtwfQG74zmhQfHC41jSiE

Summary

GradeA+

395/395

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 TCP_MEM_HIT from a60-254-143-79.deploy.akamaitechnologies.com (AkamaiGHost/11.6.2.1-58447958) (-).

Akamai has documentation on how to interpret the X-Cache and X-Cache-Remote headers.

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

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 "66a5e16f-2b5c9" was sent, and an HTTP 304 was responded with.

Akamai has documentation on how to enable Etag support (requires login).

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 Sun, 28 Jul 2024 06:13:03 GMT 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

Akamai has very strict controls around cache tag lengths, counts and characters. If you exceed or break these controls then you risk your content not being invalidated when you issue a cache tag purge.

No issues found.

See the Akamai technical documentation on how to interpret this header.

Maximum possible points

10

HTTP Response headers

Name Value
Status Code HTTP 200
Cache-Controlmax-age=2628001
Connectionkeep-alive, Transfer-Encoding
Content-Typeapplication/javascript
DateSun, 08 Sep 2024 02:13:40 GMT
ETag"66a5e16f-2b5c9"
ExpiresWed, 25 Sep 2024 08:50:27 GMT
Last-ModifiedSun, 28 Jul 2024 06:13:03 GMT
Transfer-Encodingchunked
VaryAccept-Encoding
X-CacheTCP_MEM_HIT from a60-254-143-79.deploy.akamaitechnologies.com (AkamaiGHost/11.6.2.1-58447958) (-)
X-Cache-KeyS/L/106952/1174638/10s/www.ogtr.gov.au/sites/default/files/js/js_2nPcaJsU0IeH85Rz-RR76Wj6pnHwGCbt_acSj3-NSl4.js?delta=0&include=eJxdjFEKAjEMBS_UbY8kqc2mwWxTklRZT68IIvjzZpiPR6okeIEBcgZfvdBfSH564FEqOKaOINELiVaQpBT29QkGZDC7l2ZrguRfyWvMVYW9Y_teHLvBeN4wi0LjQRtEGNcVuE2Vc2eRdGd8ePlsPrQtwfQG74zmhQfHC41jSiE&language=en&scope=footer&theme=ogtr
X-Cache-Key-Extended-Internal-Use-OnlyS/L/106952/1174638/10s/www.ogtr.gov.au/sites/default/files/js/js_2nPcaJsU0IeH85Rz-RR76Wj6pnHwGCbt_acSj3-NSl4.js?delta=0&include=eJxdjFEKAjEMBS_UbY8kqc2mwWxTklRZT68IIvjzZpiPR6okeIEBcgZfvdBfSH564FEqOKaOINELiVaQpBT29QkGZDC7l2ZrguRfyWvMVYW9Y_teHLvBeN4wi0LjQRtEGNcVuE2Vc2eRdGd8ePlsPrQtwfQG74zmhQfHC41jSiE&language=en&scope=footer&theme=ogtr vcd=6147
X-Check-CacheableYES
X-Lagoonamazeeio-govcms5>sigsci-ingress-nginx>ogtr-master:nginx>

If you want to do this yourself

You can use the following cURL command:

curl -sIXGET -H 'Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-cache-tags' 'https://www.ogtr.gov.au/sites/default/files/js/js_2nPcaJsU0IeH85Rz-RR76Wj6pnHwGCbt_acSj3-NSl4.js?scope=footer&delta=0&language=en&theme=ogtr&include=eJxdjFEKAjEMBS_UbY8kqc2mwWxTklRZT68IIvjzZpiPR6okeIEBcgZfvdBfSH564FEqOKaOINELiVaQpBT29QkGZDC7l2ZrguRfyWvMVYW9Y_teHLvBeN4wi0LjQRtEGNcVuE2Vc2eRdGd8ePlsPrQtwfQG74zmhQfHC41jSiE' | sort