src/Valkyrja/Http/NativeResponse.php
public function setClientTtl(int $seconds): Response
    {
        $this->setMaxAge($this->getAge() + $seconds);

        return $this;
    }
public function setClientTtl(int $seconds): Response
    {
        $this->setMaxAge($this->getAge() + $seconds);

        return $this;
    }
Sets the response's time-to-live for private/client caches.

This method adjusts the Cache-Control/max-age directive.

@param int $seconds Number of seconds

@throws \RuntimeException

@return \Valkyrja\Http\Response