Skip to content

Commit 7f08a5b

Browse files
authored
Updated comment
1 parent d4a5133 commit 7f08a5b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/CachePlugin.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ public function handleRequest(RequestInterface $request, callable $next, callabl
8989
return $next($request)->then(function (ResponseInterface $response) use ($cacheItem) {
9090
if (304 === $response->getStatusCode()) {
9191
if (!$cacheItem->isHit()) {
92-
// We do not have the item in cache. We can return the cached response.
92+
/*
93+
* We do not have the item in cache. This plugin did not add If-Modified-Since
94+
* or If-None-Match headers. Return the response from server.
95+
*/
9396
return $response;
9497
}
9598

0 commit comments

Comments
 (0)