Skip to content

Commit 2df904f

Browse files
authored
chore: CacheRevalidationHandler extend comment (#4111)
Include if-not-modified as a potential header which can tell the origin we want to revlidate. Co-authored-by: alxndrsn <alxndrsn>
1 parent 85b8c57 commit 2df904f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/handler/cache-revalidation-handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const assert = require('node:assert')
99
* here, which we then just pass on to the next handler (most likely a
1010
* CacheHandler). Note that this assumes the proper headers were already
1111
* included in the request to tell the origin that we want to revalidate the
12-
* response (i.e. if-modified-since).
12+
* response (i.e. if-modified-since or if-none-match).
1313
*
1414
* @see https://www.rfc-editor.org/rfc/rfc9111.html#name-validation
1515
*

0 commit comments

Comments
 (0)