public function reset(string $path)
    {
        if (!empty($this->cache)) {
            $this->cache->resetPath($path);
        }

        $engine = $this->findEngine($path);

        // Rotate all possible context variants and warm up cache
        $generator = new ContextGenerator($this->context);
        foreach ($generator->generate() as $context) {
            $engine->reset($path, $context);
        }
    }