From 887334b3806ecff64b644eb2eb426333e3d4eba3 Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Fri, 21 Mar 2025 08:00:28 +0000 Subject: [PATCH] CacheRevalidationHandler: extend comment Include if-not-modified as a potential header which can tell the origin we want to revlidate. --- lib/handler/cache-revalidation-handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/handler/cache-revalidation-handler.js b/lib/handler/cache-revalidation-handler.js index 9672936d9de..393d16d52c6 100644 --- a/lib/handler/cache-revalidation-handler.js +++ b/lib/handler/cache-revalidation-handler.js @@ -9,7 +9,7 @@ const assert = require('node:assert') * here, which we then just pass on to the next handler (most likely a * CacheHandler). Note that this assumes the proper headers were already * included in the request to tell the origin that we want to revalidate the - * response (i.e. if-modified-since). + * response (i.e. if-modified-since or if-none-match). * * @see https://www.rfc-editor.org/rfc/rfc9111.html#name-validation *