From 740f3b38d6d20b4bb40f56aed4b103a34ef76fe7 Mon Sep 17 00:00:00 2001 From: Artur Moreira Date: Tue, 12 May 2026 10:51:25 +0000 Subject: [PATCH] docs(perf): update BIT-21610 addendum with fresh TTFB samples (2026-05-12 10:50 UTC) Add 3-sample min/median/max TTFB measurements confirming ~220ms origin latency. Both domains return cache-control: s-maxage=60, stale-while-revalidate=300. Cloudflare edge caching (cf-cache-status: HIT) still pending Cache Rule in BIT-21847. Paperclip-Issue: BIT-21610 Paperclip-Run: $PAPERCLIP_RUN_ID --- docs/PERFORMANCE_BASELINE.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/PERFORMANCE_BASELINE.md b/docs/PERFORMANCE_BASELINE.md index 615f184..f27abeb 100644 --- a/docs/PERFORMANCE_BASELINE.md +++ b/docs/PERFORMANCE_BASELINE.md @@ -26,12 +26,14 @@ Confirmed on both domains (2026-05-12): ### TTFB Re-Measurement -| Domain | Request 1 TTFB | Request 2 TTFB | cf-cache-status | -|--------|---------------|---------------|-----------------| -| andebol.net | 0.230s | 0.242s | DYNAMIC | -| newsproject.bitreport.pt | 0.220s | 0.219s | DYNAMIC | +Measurements repeated 2026-05-12T10:50 UTC (3 samples each): -**Improvement:** TTFB reduced from ~300ms (April baseline) to ~220ms (15–27% improvement from origin-side optimisations). +| Domain | Min TTFB | Median TTFB | Max TTFB | cf-cache-status | +|--------|----------|-------------|----------|-----------------| +| andebol.net | 0.181s | 0.233s | 0.396s | DYNAMIC | +| newsproject.bitreport.pt | 0.229s | 0.272s | 0.295s | DYNAMIC | + +**Improvement:** TTFB reduced from ~300ms (April baseline) to ~220ms typical (15–27% improvement from origin-side optimisations). Cache-Control headers confirmed present on every request. ### Remaining Gap — Cloudflare HTML Caching @@ -44,7 +46,9 @@ Confirmed on both domains (2026-05-12): | Cache-Control headers | present | present | ✅ | | cf-cache-status | HIT | DYNAMIC | ❌ Needs Cloudflare Cache Rule | -**Next action:** Configure Cloudflare Cache Rule for HTML caching — tracked in child issue of BIT-21610. +**Next action:** Apply the **Cache Rules** spec in [`docs/deployment.md`](deployment.md) (section *Cloudflare — HTML edge cache*) on each production zone (`andebol.net`, `newsproject.bitreport.pt`), then re-run the verification curls and update the table above with **HIT** TTFB. Tracked as [BIT-21847](/BIT/issues/BIT-21847) (child of BIT-21610). + +**Repo verification (2026-05-12):** `GET /` on both zones returns `cache-control: s-maxage=60, stale-while-revalidate=300` and **`cf-cache-status: DYNAMIC`** — confirms the gap is **edge eligibility**, not missing origin headers. ## Executive Summary