A
A
Askar Fuzaylov2015-08-21 23:30:54
Yii
Askar Fuzaylov, 2015-08-21 23:30:54

Can you explain why COutputCache works with the stack?

In the COutputCache::init() method, the filter object itself is added to the stack
$this->getController()->getCachingStack()->push($this);
Why is this needed? Can't get ideas
. After all, it's just removed $this->getController()->getCachingStack()->pop(); when we took the data from the buffer.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question