from showthread.php, here is its time-out check,
PHP Code:
$post_cachable = (
$vbulletin->options['cachemaxage'] > 0 AND
(TIMENOW - ($vbulletin->options['cachemaxage'] * 60 * 60 * 24)) <= $thread['lastpost'] AND
$vbulletin->session->vars['sessionurl'] == ''
);
So it goes through each post, and if thats set or if the post has no cache, it will update it with this:
PHP Code:
if (!empty($saveparsed))
{
$db->shutdown_query("
REPLACE INTO " . TABLE_PREFIX . "postparsed (postid, dateline, hasimages, pagetext_html, styleid, languageid)
VALUES $saveparsed
");
unset($saveparsed);
}