? boost-609030.1.patch
? boost-609030.2.patch
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.195
diff -u -p -r1.3.2.2.2.5.2.195 boost.module
--- boost.module	18 Oct 2009 23:43:56 -0000	1.3.2.2.2.5.2.195
+++ boost.module	20 Oct 2009 19:10:31 -0000
@@ -112,6 +112,7 @@ define('BOOST_MAX_THREAD_TIME',      max
 //$GLOBALS['_boost_router_item'] = '';
 //$GLOBALS['_boost_relationships'] = '';
 //$GLOBALS['_boost_nid'] = '';
+//$GLOBALS['_boost_user_id'] = '';
 
 //////////////////////////////////////////////////////////////////////////////
 // Core API hooks
@@ -131,6 +132,7 @@ function boost_help($path, $arg) {
   }
   //hack to get drupal_get_messages before they are destroyed.
   $GLOBALS['_boost_message_count'] = count(drupal_get_messages(NULL, FALSE));
+  $GLOBALS['_boost_user_id'] = $user->uid;
 }
 
 /**
@@ -992,6 +994,12 @@ function theme_boost_cache_status($ttl, 
  * PHP output buffering callback for static page caching.
  */
 function _boost_ob_handler() {
+  if ($GLOBALS['_boost_user_id'] != 0) {
+    return FALSE;
+  }
+  if (!empty($user->uid)) {
+    return FALSE;
+  }
   $buffer = ob_get_contents();
 
   // Ensure we're in the correct working directory, since some web servers (e.g. Apache) mess this up here.
