public function shouldResponseBeCached(\Amp\Artax\Response $response) {
        $status = $response->getStatus();
        if ($status == 200) {
            return true;
        }

        return false;
    }
public function shouldResponseBeCached(\Amp\Artax\Response $response) {
        $status = $response->getStatus();
        if ($status == 200) {
            return true;
        }

        return false;
    }
public function shouldResponseBeCached ( \ Amp \ Artax \ Response $ response ) { $ status = $ response -> getStatus ( ) ; if ( $ status == 200 ) { return true ; } return false ; }
Determine whether the response should be cached.

@return boolean
Determine whether the response should be cached .