I found a temporary solution for my problem.
I edit the function update_forums in the file: class_datacache.php :
function update_forums()
{
global $db;
$forums = array();
// Things we don't want to cache
$exclude = array("description","linkto","lastposteruid", "lastpostsubject","password","showinjump","modposts","modthreads","mod_edit_posts", "modattachments","style","overridestyle", "rulestype","rulestitle", "rules","defaultdatecut","defaultsortby", "defaultsortorder","unapprovedthreads","unapprovedposts", "threads", "posts", "lastpost", "lastposter", "lastposttid");
$query = $db->simple_select("forums", "*", "", array('order_by' => 'pid,disporder'));
while($forum = $db->fetch_array($query))
{
foreach($forum as $key => $val)
{
if(in_array($key, $exclude))
{
unset($forum[$key]);
}
}
$forums[$forum['fid']] = $forum;
}
$this->update("forums", $forums);
}
i add this parameters in the code for exclude:
"description",
"linkto",
"lastposteruid",
"lastpostsubject",
"password",
"showinjump",
"modposts",
"modthreads",
"mod_edit_posts",
"modattachments",
"style",
"overridestyle",
"rulestype",
"rulestitle",
"rules",
"defaultdatecut",
"defaultsortby",
"defaultsortorder",
"unapprovedthreads"
i dont need that options. but can i have problems with that exclusion?
i dont have some error in my forum, but im worried.
the good part is this:
before the change:
forums cache:
873.81 KB
(index.php) Global Parsing Time: 0.0870721 / Memory Usage:
17.25 MB
after the change:
forums cache:
425.5 KB
(index.php) Global Parsing Time: 0.0752232 / Memory Usage:
15.5 MB