src/Middleware/GlideMiddleware.php
protected function _isNotModified($request, $modifiedTime)
    {
        $modifiedSince = $request->getHeaderLine('If-Modified-Since');
        if (!$modifiedSince) {
            return false;
        }

        return strtotime($modifiedSince) === (int)$modifiedTime;
    }
protected function _isNotModified($request, $modifiedTime)
    {
        $modifiedSince = $request->getHeaderLine('If-Modified-Since');
        if (!$modifiedSince) {
            return false;
        }

        return strtotime($modifiedSince) === (int)$modifiedTime;
    }
protected function _isNotModified ( $ request , $ modifiedTime ) { $ modifiedSince = $ request -> getHeaderLine ( 'If-Modified-Since' ) ; if ( ! $ modifiedSince ) { return false ; } return strtotime ( $ modifiedSince ) === ( int ) $ modifiedTime ; }
Compare file's modfied time with "If-Modified-Since" header.

@param \Psr\Http\Message\ServerRequestInterface $request The request to check.
@param string|int $modifiedTime Last modified time of file.

@return bool
Compare file s modfied time with If - Modified - Since header .