? boost-etag-only.patch
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.5.2.9
diff -u -p -r1.5.2.9 boost.module
--- boost.module	23 Feb 2011 02:00:57 -0000	1.5.2.9
+++ boost.module	23 Feb 2011 08:32:19 -0000
@@ -1003,12 +1003,15 @@ function _boost_rmdir($dir, $flush = TRU
         $lifetimes[$values['extension']] = $values['lifetime_max'];
       }
     }
+
+    // Be sure to recreate the htaccess file just in case.
+    boost_form_submit_handler();
   }
 
   $objects = scandir($dir);
   $empty_dir = TRUE;
   foreach ($objects as $object) {
-    if ($object == "." || $object == "..") {
+    if ($object == "." || $object == ".." || $object == ".htaccess") {
       continue;
     }
 
@@ -1298,8 +1301,8 @@ function boost_htaccess_cache_dir_genera
   $string .= "    ExpiresDefault A0\n";
   $string .= "  </IfModule>\n";
   $string .= "  <IfModule mod_headers.c>\n";
-  $string .= "    Header set Expires \"Sun, 19 Nov 1978 05:00:00 GMT\"\n";
-  $string .= "    Header set Cache-Control \"no-store, no-cache, must-revalidate, post-check=0, pre-check=0\"\n";
+  $string .= "    #Header set Expires \"Sun, 19 Nov 1978 05:00:00 GMT\"\n";
+  $string .= "    #Header set Cache-Control \"no-store, no-cache, must-revalidate, post-check=0, pre-check=0\"\n";
   if (variable_get('boost_apache_xheader', BOOST_APACHE_XHEADER) > 0) {
     $string .= "    Header set X-Header \"Boost\"\n";
   }
