protected function getCacheFilePath(Request $request) {
        $hash = $this->getCacheKey($request);
        $dir = $this->getCacheDir($request->getUser(), $request->getImageIdentifier());

        return sprintf(
            '%s/%s/%s/%s/%s',
            $dir,
            $hash[0],
            $hash[1],
            $hash[2],
            $hash
        );
    }