Skip to content

Commit 23d0cd4

Browse files
committed
Updated comment
1 parent d89d233 commit 23d0cd4

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
@@ -90,7 +90,10 @@ public function handleRequest(RequestInterface $request, callable $next, callabl
9090
return $next($request)->then(function (ResponseInterface $response) use ($cacheItem) {
9191
if (304 === $response->getStatusCode()) {
9292
if (!$cacheItem->isHit()) {
93-
// We do not have the item in cache. We can return the cached response.
93+
/*
94+
* We do not have the item in cache. This plugin did not add If-Modified-Since
95+
* or If-None-Match headers. Return the response from server.
96+
*/
9497
return $response;
9598
}
9699

0 commit comments

Comments
 (0)