From 1942d221df42e9bf8bc1911e4a602ad8dc581ac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Sat, 12 Apr 2025 16:18:26 +0200 Subject: [PATCH] Bump the cache of getPublishedContentByUrl in v1 (#3146) --- packages/gitbook/src/lib/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gitbook/src/lib/api.ts b/packages/gitbook/src/lib/api.ts index c6c8f84a5..2bb2039bc 100644 --- a/packages/gitbook/src/lib/api.ts +++ b/packages/gitbook/src/lib/api.ts @@ -242,7 +242,7 @@ export const getLatestOpenAPISpecVersionContent = cache({ * Resolve a URL to the content to render. */ export const getPublishedContentByUrl = cache({ - name: 'api.getPublishedContentByUrl.v6', + name: 'api.getPublishedContentByUrl.v7', tag: (url) => getCacheTagForURL(url), get: async ( url: string,