public function replaceHash()
    {
        $currentHash = $this->cacheBuster->getHash();
        $hash = $this->cacheBuster->generateHash();
        $this->writeHash($currentHash, $hash);
        $this->cacheBuster->setHash($hash);
        return $hash;
    }