On a Drupal 9.5 site on Pantehon that uses Redis, we have Drupal cache and the BigPipe module enabled.
The problem is that the cache is only being "hit" (?) if the same user visits a page twice and it's only cached for that user. So, no matter what, each page is always served fresh for a user when they visit each page. This happens on all the pages and testing only for anonymous users.
The HTTP headers output from the first visit are the following.
HTTP/2 200
cache-control: max-age=86400, public
content-language: en
content-type: text/html; charset=UTF-8
etag: W/"1693518926"
expires: Sun, 19 Nov 1978 05:00:00 GMT
last-modified: Thu, 31 Aug 2023 21:55:26 GMT
server: nginx
strict-transport-security: max-age=300
x-content-type-options: nosniff
x-drupal-cache: MISS
x-drupal-dynamic-cache: MISS
x-frame-options: SAMEORIGIN
x-generator: Drupal 9 (https://www.drupal.org)
x-pantheon-styx-hostname: styx-fe1-b-86557c6757-8fm4j
x-styx-req-id: 179f8f79-4849-11ee-8cc1-fad9a4d1262e
x-ua-compatible: IE=edge
date: Thu, 31 Aug 2023 21:55:28 GMT
x-served-by: cache-chi-klot8100114-CHI, cache-dfw-kdfw8210075-DFW
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1693518926.101391,VS0,VE2382
vary: Accept-Encoding, Cookie, Cookie, Cookie
age: 0
accept-ranges: bytes
via: 1.1 varnish, 1.1 varnish
content-length: 171901
The HTTP headers output from the second visit are the following.
HTTP/2 200
cache-control: max-age=86400, public
content-language: en
content-type: text/html; charset=UTF-8
etag: W/"1693512342"
expires: Sun, 19 Nov 1978 05:00:00 GMT
last-modified: Thu, 31 Aug 2023 20:05:42 GMT
server: nginx
strict-transport-security: max-age=300
x-content-type-options: nosniff
x-drupal-cache: MISS
x-drupal-dynamic-cache: MISS
x-frame-options: SAMEORIGIN
x-generator: Drupal 9 (https://www.drupal.org)
x-pantheon-styx-hostname: styx-fe1-a-654979455f-8bhkd
x-styx-req-id: c37e6b58-4839-11ee-a70b-82e299cb3735
x-ua-compatible: IE=edge
date: Thu, 31 Aug 2023 21:01:34 GMT
x-served-by: cache-chi-klot8100070-CHI, cache-dfw-kdfw8210108-DFW
x-cache: HIT, MISS
x-cache-hits: 1, 0
x-timer: S1693515695.925941,VS0,VE26
vary: Accept-Encoding, Cookie, Cookie, Cookie
age: 3351
accept-ranges: bytes
via: 1.1 varnish, 1.1 varnish
content-length: 151019