Caching Score: https://www.dcceew.gov.au/environment/environmental-information-data/natural-capital-accounts

Summary

GradeB

463/603

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_HIT from a60-254-143-231.deploy.akamaitechnologies.com (AkamaiGHost/11.6.3-e8c44af76fbf2725bc66e35706b8e3bb) (-).

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 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 "1726519653" 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 Mon, 16 Sep 2024 20:47:33 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

What is this check, and why should you care

CSS aggregation reduces the number of assets your site needs to download. The filename contains a hash of all the file contents, meaning you can cache these files for an extremely long time with no negative consequences.

Maximum possible points

10

What is this check, and why should you care

Javascript aggregation reduces the number of assets your site needs to download. The filename contains a hash of all the file contents, meaning you can cache these files for an extremely long time with no negative consequences.

Maximum possible points

10

What is this check, and why should you care

Drupal 9.5+ introduces a new debug setting to make it easier to debug render caching. This setting will add cache debugging output for each rendered element.

The main issue with this is that this slows down your page loads (on top increasing your page weight).

In order to get maximum points, you must disable the render cache debug.

Maximum possible points

10

What is this check, and why should you care

Drupal 7+ provides a Statistics module to which records content view statistics in Drupal's database.

The main issue with this module is that it sends an un-cacheable HTTP POST request to your site to record a 'content view' statistic. This does not scale well as you Drupal site gets more traffic.

In order to get maximum points, you must disable the statistics module.

Maximum possible points

10

What is this check, and why should you care

Drupal 8+ uses Twig for templating, and the Twig template engine offers a debug tool to which emits out a list of template filenames in the HTML source.

The main issue with this is that you often also have other Twig related performance issues as well, e.g. automatic reloading.

In order to get maximum points, you must disable Twig debug.

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.

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.

This check requested the URL https://www.dcceew.gov.au/environment/environmental-information-data/natural-capital-accounts?fbclid=1726519655.

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.

This check requested the URL https://www.dcceew.gov.au/environment/environmental-information-data/natural-capital-accounts?gclsrc=1726519655&gclid=1726519655.

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.

This check requested the URL https://www.dcceew.gov.au/environment/environmental-information-data/natural-capital-accounts?utm_source=1726519655&utm_medium=1726519655&utm_campaign=1726519655&utm_id=1726519655.

Maximum possible points

10

What is this check, and why should you care

There is a SPAM protection module in Drupal called Honeypot.

The honeypot module has a feature that adds a time based hidden form field to forms to protect against bots filling them in too quickly. This is a nice feature, however it happens to disable caching for the entire page. This is terrible for high traffic sites.

It is recommended to disable this time based feature, and only use the core honeypot feature of a hidden input field.

Maximum possible points

5

What is this check, and why should you care

There are 2 filesystems in Drupal - public files and private files.

Private files force Drupal to bootstrap in order to serve the file, and access control is checked every single time. This is useful for sensitive files, but a hindrance when your site is under high load.

It is recommended to use Drupal's public file system for static, non-sensitive files, and reserve the use of private files for dynamic, or sensitive files.

Maximum possible points

5

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 900 seconds (15 minutes).

Maximum possible points

100

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.dcceew.gov.au/cachingscorebrokenurltest.

Maximum possible points

20

What is this check, and why should you care

Drupal 8+ provides an Internal Page Cache module that is recommended for small to medium-sized websites.

There is value in using this module, even when you are using Akamai, due to the low cache lifetime of 15 minutes.

In order to get maximum points, you must enable the page_cache module, and have a HIT on Drupal's page cache.

See Drupal's documentation on the Internal Page Cache module. Also, Wim Leers wrote a really awesome blog post on the release of this module with important background.

Maximum possible points

20

Image checks

Performed on the asset: https://www.dcceew.gov.au/sites/default/files/MegaMenuImages/climate-change-mega-menu.jpg

See the HTTP headers for this image file.

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-231.deploy.akamaitechnologies.com (AkamaiGHost/11.6.3-e8c44af76fbf2725bc66e35706b8e3bb) (-).

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

Maximum possible points

10

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

10

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 "62bd35b0-5b55" 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

3

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 Thu, 30 Jun 2022 05:33:36 GMT was sent, and an HTTP 304 was responded with.

Maximum possible points

3

CSS checks

Performed on the asset: https://www.dcceew.gov.au/sites/default/files/css/css_5HVOgl5l4hh05agIpQopyvhjkIHqcHuQcD4d1_cpe2o.css?delta=0&language=en&theme=awe&include=eJx9UdFuwyAM_CEEn1QZcIgrwAw7TbOvH00zTWvWvdjWYR--c2JOGS9QIW9KQVx6AYxsolicB0ETMohsv-qCIpBQTOCOrnIvkOkTDazoUmYPWfZ64qpisCrpdsHiMboATYmruRGu4vZoC8clo1nRT4PKHdk-wgnEjGUQ2ogKlMUK3M6Tr03KKf3xAVzhfgJ1HrP2KfQt8WHA6T1waSyk71fiXf7hHFXFPky3148F-_a_4inj3fPdPBwMMzwP0qBD6tBmcbEvbVD9IHapbfGZZMb4fbnKEc3wmybCLmMB0i-vdsyU

See the HTTP headers for this CSS file.

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-231.deploy.akamaitechnologies.com (AkamaiGHost/11.6.3-e8c44af76fbf2725bc66e35706b8e3bb) (-).

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

Maximum possible points

10

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

10

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 "66a6f1c4-4db1" 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

3

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 Mon, 29 Jul 2024 01:35:00 GMT was sent, and an HTTP 304 was responded with.

Maximum possible points

3

Javascript checks

Performed on the asset: https://www.dcceew.gov.au/sites/default/files/js/js_hYmqt-Wmt7pnqVm6uvCV2kSMv6iwCbeImtq_OJhRAt0.js?scope=header&delta=0&language=en&theme=awe&include=eJx9UdFuwyAM_CEEn1QZcIgrwAw7TbOvH00zTWvWvdjWYR--c2JOGS9QIW9KQVx6AYxsolicB0ETMohsv-qCIpBQTOCOrnIvkOkTDazoUmYPWfZ64qpisCrpdsHiMboATYmruRGu4vZoC8clo1nRT4PKHdk-wgnEjGUQ2ogKlMUK3M6Tr03KKf3xAVzhfgJ1HrP2KfQt8WHA6T1waSyk71fiXf7hHFXFPky3148F-_a_4inj3fPdPBwMMzwP0qBD6tBmcbEvbVD9IHapbfGZZMb4fbnKEc3wmybCLmMB0i-vdsyU

See the HTTP headers for this Javascript file.

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-231.deploy.akamaitechnologies.com (AkamaiGHost/11.6.3-e8c44af76fbf2725bc66e35706b8e3bb) (-).

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

Maximum possible points

10

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

10

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 "66e3cfa6-2f922" 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

3

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 Fri, 13 Sep 2024 05:37:42 GMT was sent, and an HTTP 304 was responded with.

Maximum possible points

3

HTTP Response headers

Name Value
Status Code HTTP 200
Cache-Controlmax-age=900, public
Connectionkeep-alive
Content-Languageen
Content-Length77260
Content-Typetext/html; charset=UTF-8
DateMon, 16 Sep 2024 20:47:34 GMT
ETag"1726519653"
Edge-Cache-Tag90n0v 34vmc 6ppdr 3bmmi 4093v 6p1fe 4bnv9 6k185 1j02a 4e75s 2m777 4en6l 1nrkb 6iegj 14sdu 18n1r 0krh9 34shj 77vqc 2pqtv k06q7 6p8d7 2ikur 78sfu 2hoer 4cscp 3858l 76o7e 2m2u5 8qut9 59qt3 7dpd3 3k3mi 4pocu 2er87 3kk42 18ukv 7ufbh 4ad58 23d9u 4vpvf 15hqb 7t5mj 2p04o 2i67m 6p5or 2okmj 1rvaq 6hbkl 3aq6b 9mr7j 3hll3 emas1 4cfa3 dildm 2g4dh 6773m 75v3o 4pron 1iikt 1sfur 3khop 1e20o 52iar 38k2q 1dp7q 78vm7 5esnm 225ah 69psg 4jsqn 49n4b 54mmb 2830o 5kcdf 4oqch 6mogs llvaq 39fp2 27cci 30k1h 5kv0b 5ql18 4vg3u 5m583 7ong3 2g1ag 4nsl5 1chfe 17qke 2am2s 19boc 3d05p 1l3jk 50pmj 1838d 1rc13 v3f6t 7dv83 426k9 1a35u 1udlp 6ik6b 7dmdq 21vd5 6bu3m 4338c 1053k 6lnlt 6n70u 2i4st vqanu 2q7dg 464a1 2p8b1 1mp1r d4c3l gqii0 32ahu 2bf6l 73fp8 6qrpu 3i85b 49idt 28p2j 5v0r1 bbmb7 485cd 73amb 16cul 62ugo 6h88g 6tece 4b5fl 7n5m5 r70th 6dkra 44734 403d9 6lb8b 548ge 6ah1g 2b5qa f32bq 1p2io 5sr7s 2vjof 6mvq6 4h4ip 29cvg sm8h5 3b0bv 2ecn8 1ku8b 6c3gq 5vo2d 5611j 13h9t 7q1ae 5djpv 17fhm
ExpiresSun, 19 Nov 1978 05:00:00 GMT
Last-ModifiedMon, 16 Sep 2024 20:47:33 GMT
X-CacheTCP_HIT from a60-254-143-231.deploy.akamaitechnologies.com (AkamaiGHost/11.6.3-e8c44af76fbf2725bc66e35706b8e3bb) (-)
X-Cache-KeyS/L/80747/1201408/1d/www.dcceew.gov.au/environment/environmental-information-data/natural-capital-accounts
X-Cache-Key-Extended-Internal-Use-OnlyS/L/80747/1201408/1d/www.dcceew.gov.au/environment/environmental-information-data/natural-capital-accounts vcd=6147
X-Check-CacheableYES
X-Lagoonamazeeio-govcms5>sigsci-ingress-nginx>cceew-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.dcceew.gov.au/environment/environmental-information-data/natural-capital-accounts' | sort