/** * check for cached includes * * @return string */ public function checkIncludes() { $cache = LiquidTemplate::getCache(); if ($this->_document->checkIncludes() == true) { return true; } $source = $this->_fileSystem->readTemplateFile($this->_templateName); if ($cache->exists(md5($source)) && $this->_hash == md5($source)) { return false; } return true; }