копался я в коде typo3
и нашел такую функцию в tslib/class.tslib_fe.php
PHP код:
/**
* Temp cache content
* The temporary cache will expire after a few seconds (typ. 30) or will be cleared by the rendered page, which will also clear and rewrite the cache.
*
* @return void
*/
function tempPageCacheContent() {
$this->tempContent = FALSE;
if (!$this->no_cache) {
$seconds = 30;
$stdMsg = '
<html>
<head>
<title>'.htmlspecialchars($this->tmpl->printTitle($this->page['title'])).'</title>
<meta http-equiv="refresh" content="3; URL='.htmlspecialchars(t3lib_div::getIndpEnv('REQUEST_URI')).'" />
</head>
<body bgcolor="white">
<div align="center" style="font-family:Verdana,Arial,Helvetica" color="#cccccc">
<strong>Page is being generated.</strong><br />
If this message does not disappear within '.$seconds.' seconds, please reload.
</div>
</body>
</html>';
$temp_content = $this->config['config']['message_page_is_being_generated'] ? $this->config['config']['message_page_is_being_generated'] : $stdMsg;
// $this->setPageCacheContent($temp_content, '', $GLOBALS['EXEC_TIME']+$seconds);
$this->tempContent = TRUE; // This flag shows that temporary content is put in the cache
}
}
и закомментировал в ней одну строку
// $this->setPageCacheContent($temp_content, '', $GLOBALS['EXEC_TIME']+$seconds);
и проблема о которой я писал (многократное повторение page generated....) решилась.
страницы стали кешироваться и время отклика страниц заметно уменьшилось.
вопрос только остался, а зачем страницу "page is been generated..."
сохранять в таблицу cache_pages???