Webiny\Component\Router\Router::saveToCache PHP Method

saveToCache() private method

Save the given value into cache.
private saveToCache ( string $path, string $value )
$path string This is the cache key.
$value string This is the value that is going to be stored.
    private function saveToCache($path, $value)
    {
        if ($this->getCache()) {
            $this->getCache()->save(self::CACHE_KEY . md5($path), $value, null, ['_wf', '_component', '_router']);
        }
    }