Index: boost.module
===================================================================
--- boost.module	(revision 2712)
+++ boost.module	(working copy)
@@ -152,14 +152,16 @@
  */
 function boost_views_pre_render(&$view) {
   if (!is_null($view) && $GLOBALS['_boost_cache_this'] && !BOOST_NO_DATABASE) {
+    $nids = array();
     foreach ($view->result as $item) {
       if (is_numeric($item->nid)) {
-        $node = node_load($item->nid);
-        if (isset($node->type)) {
-          $GLOBALS['_boost_relationships'][] = array('child_page_callback' => 'node', 'child_page_type' => $node->type, 'child_page_id' => $item->nid);
-        }
+        $nids[] = $item->nid;
       }
     }
+    $result = db_query("SELECT nid, type FROM {node} WHERE nid IN (". implode(', ', $nids) .")");
+    while($node = db_fetch_object($result)) {
+      $GLOBALS['_boost_relationships'][] = array('child_page_callback' => 'node', 'child_page_type' => $node->type, 'child_page_id' => $item->nid);
+    }
   }
 }
 
