Caching Score: https://www.govcms.gov.au/

Summary

GradeA+

603/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_MEM_HIT from a23-214-88-135.deploy.akamaitechnologies.com (AkamaiGHost/11.5.4-57255204) (-).

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 2592000 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 "1721973395" 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 Fri, 26 Jul 2024 05:56:35 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

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.govcms.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 extremely limited value in using this module, even when you are using Akamai and having a relatively high cache lifetime of 1 month and 2 days.

In order to get maximum points, you must have the module page_cache disabled.

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

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.govcms.gov.au/?fbclid=1722073047.

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.govcms.gov.au/?gclsrc=1722073047&gclid=1722073047.

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.govcms.gov.au/?utm_source=1722073047&utm_medium=1722073047&utm_campaign=1722073047&utm_id=1722073047.

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

Image checks

Performed on the asset: https://www.govcms.gov.au/sites/default/files/styles/natural/public/2019-10/Home-1_0.png?itok=WBNs4yRh

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 a23-214-88-135.deploy.akamaitechnologies.com (AkamaiGHost/11.5.4-57255204) (-).

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 "61c10dac-2bb3" 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, 20 Dec 2021 23:11:40 GMT was sent, and an HTTP 304 was responded with.

Maximum possible points

3

CSS checks

Performed on the asset: https://www.govcms.gov.au/sites/default/files/css/css_mDyL_9JyXCTMfQEz4j4KQ_LavyMWf0UbvxwbMvQPkvs.css?delta=0&language=en&theme=govcms_theme&include=eJxtUdFuxSAI_aHaftINKteyKjjB3vn3c8uSpd0egOQcIOdAEkkZH8CQh1HQLd2ARYcals2D4pLkDEUftmPBLWXxkJ3ayMTpynU6yByEIC2S8JV8oVcydJnU_kxG1MOkOkVoYb9yFITnFB96xd_eO7bhTMJtV5Ma5cXOd7O7iieC9YZup7TnGXalPRo4FqMnBbDpYRqlcIxr1wmZIkwveCKbe0ory7T3VbefukaCLGmp0CA1qLtOXb1CXn-RtXPtft5jx3hTCTrXQjBdTsKXbt95LRJ7xnsrh-Hl4wG15vHfPwoQO4bz318xlWnkE_Gez4E

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 a23-214-88-135.deploy.akamaitechnologies.com (AkamaiGHost/11.5.4-57255204) (-).

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 "668331e2-6b25" 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, 01 Jul 2024 22:46:58 GMT was sent, and an HTTP 304 was responded with.

Maximum possible points

3

Javascript checks

Performed on the asset: https://www.govcms.gov.au/sites/default/files/js/js_1x6sFT_2FXAi5C6cmljVWGjixJUE75uJ4PWitqiwBXA.js?scope=footer&delta=0&language=en&theme=govcms_theme&include=eJxtUdFuxSAI_aHaftINKteyKjjB3vn3c8uSpd0egOQcIOdAEkkZH8CQh1HQLd2ARYcals2D4pLkDEUftmPBLWXxkJ3ayMTpynU6yByEIC2S8JV8oVcydJnU_kxG1MOkOkVoYb9yFITnFB96xd_eO7bhTMJtV5Ma5cXOd7O7iieC9YZup7TnGXalPRo4FqMnBbDpYRqlcIxr1wmZIkwveCKbe0ory7T3VbefukaCLGmp0CA1qLtOXb1CXn-RtXPtft5jx3hTCTrXQjBdTsKXbt95LRJ7xnsrh-Hl4wG15vHfPwoQO4bz318xlWnkE_Gez4E

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_HIT from a23-214-88-135.deploy.akamaitechnologies.com (AkamaiGHost/11.5.4-57255204) (-).

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 "66833652-595e9" 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, 01 Jul 2024 23:05:54 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=2592000, public
Connectionkeep-alive
Content-Languageen
Content-Length46134
Content-Typetext/html; charset=UTF-8
DateSat, 27 Jul 2024 09:37:27 GMT
ETag"1721973395"
Edge-Cache-Tag3a67j 27tra 5cdk9 2mnna 6knj6 iaeo2 6dm50 7dc5i 35nsf ipmso 5r07s 6peb1 43ege 6tpuu 7s7kl 6pkjs 7dkec 1i58f 7fp42 5nk83 51uu7 6vhf1 3er41 4932v 4rgek 1f0tb 1ssp6 25n14 18mst 1o9cv 2hrnb 7p3dv 538cj 1u7oj 1c5hl 51h04 28lhc 34eub 24vdi 71lcm 6g7if 55d02 6v223 6cvo6 14bf3 2b7gn 4s635 6778r 5l3s8 7j42d 3tmes 1gshl 75a15 3v6tc hjt37 2qe1g 356fk 4k6sc 2qu5j 4lkmj 2vhjc 29kte 3ee9p 4dngf 12n60 5kvpo 4ndkc 1u8hp 16gqd 3743q 61iec 5jko1 3qdmd 4200m 3u1d2 20k74 1gcjr un1dj 7jg0a 43mnd 6s9fa 4j7vv cligp 7ertb 2bnav 6g4ll 5nfr7 3oqer 36l3v 2tq53 5cm22 23p2j 2a3l6 jfgie 2r432 5ohvb fqp2d 7ht3d 50lto 73cg2 3ghs0 6vcdt 3mpki 3fft9 65rpl 4ljmj 696vv 7bk2f 236bg 7lbli 13pvm 4d71b 285in 38i1l 68pqj tj0gm 3akjq 30oug 1ff0t 1i961 1aci8 53t52 7itbt
ExpiresSun, 19 Nov 1978 05:00:00 GMT
Last-ModifiedFri, 26 Jul 2024 05:56:35 GMT
VaryAccept-Encoding
X-Akamai-Transformed9 - 0 pmb=mTOE,1
X-CacheTCP_MEM_HIT from a23-214-88-135.deploy.akamaitechnologies.com (AkamaiGHost/11.5.4-57255204) (-)
X-Cache-KeyS/L/97003/361798/1d/www.govcms.gov.au/?akamai-transform=9
X-Cache-Key-Extended-Internal-Use-OnlyS/L/97003/361798/1d/www.govcms.gov.au/?akamai-transform=9 vcd=6147
X-Check-CacheableNO
X-Lagoonamazeeio-govcms5>sigsci-ingress-nginx>govcmsd8-master:nginx>

If you want to do this yourself

You can use the following cURL command:

curl -sLIXGET -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.govcms.gov.au/' | sort