public function logRequest(APIRequest $request): void
    {
        $item = $this->cacheItemPool->getItem($this->deriveCacheKey($request));

        if($requestCount = $item->get()) {
            $item->set($requestCount + 1);
        } else {
            $item->set(1)->expiresAfter($this->perXSeconds);
        }

        $this->cacheItemPool->save($item);
    }