diff --git a/boost.module b/boost.module
index a6b3db2..e2d6488 100644
--- a/boost.module
+++ b/boost.module
@@ -375,38 +375,31 @@ function boost_flush_caches() {
  * Implements hook_expire_cache (from the 'expire' module)
  */
 function boost_expire_cache($urls) {
-  global $base_root;
-
   foreach ($urls as $url) {
-    // Check if the URL to be flushed matches our base URL
-    // base_root: http://www.example.org
-    // url: http://www.example.org/node/123
-    if (strpos($url, $base_root) === 0) {
-      $boost = boost_transform_url($url);
-
-      // We need the extention for the filename
-      $boost['header_info'] = boost_get_header_info();
-      $boost['matched_header_info'] = boost_match_header_attributes($boost['header_info']);
-
-      // Issue #2135835 Cache may not be enabled for this type (html/xml/ajax)
-      if (! $boost['matched_header_info']['enabled']) {
-        continue;
-      }
+    $boost = boost_transform_url($url);
 
-      $filename = (isset($boost['filename']) ? $boost['filename'] . '.' . $boost['matched_header_info']['extension'] : NULL);
+    // We need the extention for the filename
+    $boost['header_info'] = boost_get_header_info();
+    $boost['matched_header_info'] = boost_match_header_attributes($boost['header_info']);
 
-      if ($filename && file_exists($filename)) {
-        if (unlink($filename)) {
-          boost_log('Removed !file from the boost cache.', array('!file' => $filename), WATCHDOG_DEBUG);
-        }
-        else {
-          boost_log('Could not delete !file from the boost cache. Check file permissions.', array('!file' => $filename), WATCHDOG_WARNING);
-        }
+    // Issue #2135835 Cache may not be enabled for this type (html/xml/ajax)
+    if (! $boost['matched_header_info']['enabled']) {
+      continue;
+    }
+
+    $filename = (isset($boost['filename']) ? $boost['filename'] . '.' . $boost['matched_header_info']['extension'] : NULL);
+
+    if ($filename && file_exists($filename)) {
+      if (unlink($filename)) {
+        boost_log('Removed !file from the boost cache.', array('!file' => $filename), WATCHDOG_DEBUG);
       }
       else {
-        boost_log('Could not delete the cache for !url, file !file does not exist.', array('!url' => $url, '!file' => $filename), WATCHDOG_DEBUG);
+        boost_log('Could not delete !file from the boost cache. Check file permissions.', array('!file' => $filename), WATCHDOG_WARNING);
       }
     }
+    else {
+      boost_log('Could not delete the cache for !url, file !file does not exist.', array('!url' => $url, '!file' => $filename), WATCHDOG_DEBUG);
+    }
   }
 }
 
