385/385
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 "66cc7943-692c"
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
Name | Value |
---|---|
Status Code | HTTP 200 |
Accept-Ranges | bytes |
Age | 1202312 |
Cache-Control | max-age=2628001 |
Connection | keep-alive |
Content-Type | text/css |
Date | Tue, 17 Sep 2024 08:09:35 GMT |
ETag | "66cc7943-692c" |
Expires | Thu, 03 Oct 2024 20:11:04 GMT |
Fastly-Debug-Digest | 4d9a27a22ec03643fdbdccb0e56c82b0068cc1fd9bdfdd42217a860e99e50459 |
Fastly-Debug-Path | (D cache-syd10172-SYD 1726560576) (F cache-syd10132-SYD 1725667104) (D cache-iad-kjyo7100118-IAD 1725667104) (F cache-iad-kjyo7100118-IAD 1725358264) |
Fastly-Debug-TTL | (H cache-syd10172-SYD - - 1202312) (H cache-iad-kjyo7100118-IAD 2319161.109 86400.000 308840) |
Fastly-Drupal-VCL-Uploaded | 8-1.0.2 |
Last-Modified | Mon, 26 Aug 2024 12:46:59 GMT |
Server-Timing | HIT, fastly;desc="Edge time";dur=1, HIT-CLUSTER, fastly;desc="Edge time";dur=1 |
Surrogate-Key | grantstation.com |
Vary | Accept-Encoding |
Via | 1.1 varnish |
X-Cache | HIT |
X-Cache-Hits | 1 |
X-LAGOON | amazeeio-us2>ingress-nginx>grantstation-main:nginx>nginx-6dc874b745-wbtfm |
X-Served-By | cache-syd10172-SYD |
X-Service-Id | iwEzSmhGAn4zs42lwXOZY4 |
X-Static-Asset | 1 |
X-Timer | S1726560576.576615,VS0,VE1 |
X-Waf-Block | 0 |
X-Waf-Block-Id | 0 |
alt-svc | h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400 |
fastly-request-id | a7bc6dd3ad808d3e313a977f, a280d878c58b0719beec3d8a |
x-encoded-content-encoding | br |
x-encoded-content-length | 4910 |
You can use the following cURL
command:
curl -sIXGET -H 'Fastly-Debug: 1' 'https://grantstation.com/sites/default/files/css/css_volSCpbm_0hxQJn7EKV8RUsqPim0WRaQ5btiYlK1HTE.css?delta=0&language=en&theme=grantstation&include=eJxljlEOwjAMQy_Url8cKGVZVZQ0qA5U4_RMCE2M_SS2n2IFK5w1ZQKHbObwTvfLySsDVBjhap1Ts64k9XU82WW8IQo5w395EcskEb5KbSWUTm1D5NVaWqx5pMEw5TPBMforGpyX7Z_03dNcSayEZ-WB9JmT2vwQfgMifVvJ' | sort