public function url($path = '')
    {
        $path = trim($path, '/');
        if ($this->enabled) {
            $hash = ($this->hash) ? trim($this->hash, '/') . '/' : '';
            return $this->cdn . $this->prefix . $hash . $path;
        } else {
            return $this->cdn . $path;
        }

    }