Hey guys,
I've been playing with the view cache based on albumorama and default devtools scaffolding. One thing I've notices, is that the view cache caches the entire 'view' - action and main layouts. Is it possible to separate those, so only the /views/media/index.volt would get cached?
function indexAction() {      
        $key = 'media-index-all-latest';
        $exists = $this->view->getCache()->exists($key);                
        if( !$exists) {            
            $this->view->setVar('time', time());       
        }   
        $this->view->cache(
            array(  "lifetime" => 86400, "key"  => $key, )
        );                                       
    }  Thanks