From 43c1018e3e66748d9e3b714bb47b826d7617c2dc Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Fri, 3 Oct 2025 12:00:48 +0800 Subject: [PATCH] perf(api): remove no-transform cache-control from response header Closes: #2091 --- .../src/main/kotlin/org/gotson/komga/infrastructure/web/Utils.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/komga/src/main/kotlin/org/gotson/komga/infrastructure/web/Utils.kt b/komga/src/main/kotlin/org/gotson/komga/infrastructure/web/Utils.kt index 9a4121fec..8bbc64f96 100644 --- a/komga/src/main/kotlin/org/gotson/komga/infrastructure/web/Utils.kt +++ b/komga/src/main/kotlin/org/gotson/komga/infrastructure/web/Utils.kt @@ -21,7 +21,6 @@ fun ResponseEntity.BodyBuilder.setCachePrivate() = this.cacheControl(cachePrivat val cachePrivate = CacheControl .maxAge(0, TimeUnit.SECONDS) - .noTransform() .cachePrivate() .mustRevalidate()