We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4e095f7 + 53789e1 commit b86b7d1Copy full SHA for b86b7d1
1 file changed
src/Cache.php
@@ -63,7 +63,7 @@ public function __invoke(RequestInterface $request, ResponseInterface $response,
63
$lastModified = strtotime($lastModified);
64
}
65
$ifModifiedSince = $request->getHeader('If-Modified-Since');
66
- if ($ifModifiedSince && $lastModified === strtotime($ifModifiedSince)) {
+ if ($ifModifiedSince && $lastModified <= strtotime($ifModifiedSince)) {
67
return $response->withStatus(304);
68
69
0 commit comments