Skip to content

Commit e57b654

Browse files
authored
docs: updated readme to indicate that we are now using USE_ORIGIN_HEADERS caching mode (#186)
1 parent 60bd929 commit e57b654

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/deploy/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ Current backend services in use:
494494
- **`drupal-sites-backend`**: Serves both production and staging Drupal sites
495495
- Backend: `staging-interledger-ig` (unmanaged instance group containing `interledger-org-drupal` VM)
496496
- Health Check: `staging-interledger-health` (HTTP on port 80)
497-
- CDN: Enabled (cache-mode: CACHE_ALL_STATIC, 1hr default TTL)
497+
- CDN: Enabled with `cacheMode: USE_ORIGIN_HEADERS`, so Drupal/Apache `Cache-Control` headers dictate TTLs for both HTML and assets
498498

499499
- **`nginx-rewrite-backend`**: Serves the `/developers` portal
500500
- Backend: Cloud Run serverless NEG (`nginx-rewrite` service)
@@ -505,6 +505,8 @@ Current backend services in use:
505505

506506
**Note**: The instance group is named `staging-interledger-ig` for historical reasons, but it serves both environments.
507507

508+
**CDN verification reminder**: Google Cloud CDN does **not** add an `Age` (or similar) response header. To confirm cache hits, use Cloud CDN logs or hit-rate metrics instead of relying on origin headers.
509+
508510
## Files in This Directory
509511

510512
- **`urlmap.yaml`**: HTTPS URL map configuration (port 443 routing)

0 commit comments

Comments
 (0)