Caching Score: https://cn.dorcglobal.com/sites/dorcglobal-com/files/styles/banner_md/public/media/images/Header%20chinese%20page-transparent.png?itok=6VVpjGlg

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 "667d5fc2-3b080" 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
Age1795433
Cache-Controlmax-age=2628001
Connectionkeep-alive
Content-Length241792
Content-Typeimage/png
DateMon, 16 Sep 2024 19:51:01 GMT
ETag"667d5fc2-3b080"
ExpiresWed, 18 Sep 2024 12:11:37 GMT
Fastly-Debug-Digest47f6d6ed7a52885f4f3c3fc0e5930332ec6e05d4f558f0a5ce69c5a585ade94f
Fastly-Debug-Path(D cache-syd10153-SYD 1726516261) (F cache-syd10181-SYD 1724992406) (D cache-fra-eddf8230117-FRA 1724992406) (F cache-fra-eddf8230117-FRA 1724033497)
Fastly-Debug-TTL(H cache-syd10153-SYD 832567.865 86400.000 1795433) (H cache-fra-eddf8230117-FRA 2356422.697 86400.000 271578)
Fastly-Drupal-VCL-Uploaded8-1.0.2
Last-ModifiedThu, 27 Jun 2024 12:49:06 GMT
Server-TimingHIT, fastly;desc="Edge time";dur=0, HIT, fastly;desc="Edge time";dur=0
Surrogate-Keycn.dorcglobal.com
Via1.1 varnish
X-CacheHIT
X-Cache-Hits2
X-Lagoonamazeeio-de3>ingress-nginx>cn-dorcglobal-com-production:nginx>
X-Served-Bycache-syd10153-SYD
X-Service-Id1mvQMYU5Qrh0PzTkAm4JSF
X-Static-Asset1
X-TimerS1726516261.178852,VS0,VE0
X-Waf-Block0
X-Waf-Block-Id0
fastly-request-id5230e540b534d143a7fead36, dddededf0d4e80092b5e1b24

If you want to do this yourself

You can use the following cURL command:

curl -sIXGET -H 'Fastly-Debug: 1' 'https://cn.dorcglobal.com/sites/dorcglobal-com/files/styles/banner_md/public/media/images/Header%20chinese%20page-transparent.png?itok=6VVpjGlg' | sort