Cache checking on the Node Process step (STEP 2)

Igor Vylusko <versus-OY8o98/[email protected]>
Newsgroups gmane.comp.lib.binarycloud.devel
Message-ID <[email protected]>
Hello,

I am a newbie in the binarycloud.
Please advice, may I check (in overridden "process" method) is_Cached status
of the Node at the very begining of its processing and do nothing with
the Node and its children if cached?

E.g.

function process() {
    $result = $this->_isCached();
    if ($result == true) {
        Log::entry(BC_LOG_DEBUG,'Node is Cached. Skip processing.', __FILE__, __LINE__);
    } else {
        Log::entry(BC_LOG_DEBUG, sprintf('#Node.Process#', $this->id),
                __FILE__, __LINE__);
        $this->_modifyTree();
        $this->_processChildren();
        $this->_main();
    }
}

Where can I get performance tips and issues for the framework and my app
based on it tuning?

May I alter server response cache control options for the particular
page(Node)?

Thank you for your advice and excellent framework.

Best regards,
Igor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.