? 312393-node-update-index-slow.patch ? 534092-cache-returns-expired-objects.patch ? modules/search/search.module-test Index: includes/cache.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/cache.inc,v retrieving revision 1.38 diff -u -p -r1.38 cache.inc --- includes/cache.inc 1 Jul 2009 12:47:30 -0000 1.38 +++ includes/cache.inc 30 Jul 2009 02:09:33 -0000 @@ -42,7 +42,12 @@ function _cache_get_object($bin) { * @return The cache or FALSE on failure. */ function cache_get($cid, $bin = 'cache') { - return _cache_get_object($bin)->get($cid); + if (($cached = _cache_get_object($bin)->get($cid)) && ($cached->expire > REQUEST_TIME)) { + return $cached; + } + else { + return FALSE; + } } /**