src/Easy/WebPage.php
protected function _render()
    {
        if ($this->cacheLifeTime > 0) {
            $pageUrl = $this->curPageURL();
            $cache_id = md5($pageUrl);
            //try to process cache service.
            $cacheSvc = Openbizx::getService(CACHE_SERVICE, 1);
            $cacheSvc->init($this->objectName, $this->cacheLifeTime);
            $this->consoleOutput = false;
            $output = ViewRenderer::render($this);
            Openbizx::$app->getLog()->log(LOG_DEBUG, "VIEW", "Set cache. url = " . $pageUrl);
            $cacheSvc->save($output, $cache_id);
            return $output;
        } else {
            $this->setClientScripts();
            return ViewRenderer::render($this);
        }
        return;
    }
protected function _render()
    {
        if ($this->cacheLifeTime > 0) {
            $pageUrl = $this->curPageURL();
            $cache_id = md5($pageUrl);
            //try to process cache service.
            $cacheSvc = Openbizx::getService(CACHE_SERVICE, 1);
            $cacheSvc->init($this->objectName, $this->cacheLifeTime);
            $this->consoleOutput = false;
            $output = ViewRenderer::render($this);
            Openbizx::$app->getLog()->log(LOG_DEBUG, "VIEW", "Set cache. url = " . $pageUrl);
            $cacheSvc->save($output, $cache_id);
            return $output;
        } else {
            $this->setClientScripts();
            return ViewRenderer::render($this);
        }
        return;
    }
Render this view. This function is called by Render() or ReRender()

@return mixed either print html content or return html content if called by Render(), or void if called by ReRender()