? boost-514156.patch
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.69
diff -u -p -r1.3.2.2.2.5.2.69 boost.module
--- boost.module	10 Jul 2009 00:19:49 -0000	1.3.2.2.2.5.2.69
+++ boost.module	13 Jul 2009 10:39:56 -0000
@@ -95,6 +95,13 @@ function boost_init() {
     }
   }
 
+  if (!empty($user->uid)) {
+    boost_set_cookie($user);
+    $GLOBALS['conf']['clean_url'] = 0;
+    cache_clear_all(NULL, 'cache_menu');
+    cache_clear_all(NULL, 'cache_filter');
+  }
+
   // Make sure the page is/should be cached according to our current configuration
   if (   strpos($_SERVER['SCRIPT_FILENAME'], 'index.php') === FALSE
       || variable_get('site_offline', 0)
@@ -108,13 +115,8 @@ function boost_init() {
     return;
   }
 
-  // For authenticated users, set a special cookie to prevent them
-  // inadvertently getting served pages from the static page cache.
-  if (!empty($user->uid)) {
-    boost_set_cookie($user);
-  }
   // We only generate cached pages for anonymous visitors.
-  else {
+  if (empty($user->uid)) {
     if (BOOST_ENABLED != CACHE_AGGRESSIVE) {
       $GLOBALS['conf']['cache'] = CACHE_DISABLED;
     }
