From d6c0d2dbcdc7693f9a27d2bc86c9bb59e0cb16be Mon Sep 17 00:00:00 2001 From: Nicolas Dorseuil Date: Wed, 29 Jul 2026 17:12:34 +0200 Subject: [PATCH] comment --- packages/gitbook/src/lib/ppr.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/gitbook/src/lib/ppr.ts b/packages/gitbook/src/lib/ppr.ts index 5cf75a849..77a6c62fa 100644 --- a/packages/gitbook/src/lib/ppr.ts +++ b/packages/gitbook/src/lib/ppr.ts @@ -7,6 +7,10 @@ export type PPRRequest = { pageToken: string; }; +// We need to find a better way than having to pass 3 different tokens +// We should also not have to encode 3 different API tokens in the URL, but for a POC it's fine +// This is not true PPR, but in combination with what we are doing in the background, +// it will allow us to cache the different regions independently and invalidate them when needed export const PPRRequestHeaders = { LookupURL: 'x-gbo-lookup-url', StructureToken: 'x-gbo-struct-token',