diff --git a/akamai.admin.inc b/akamai.admin.inc
index f87834d..12aeef1 100644
--- a/akamai.admin.inc
+++ b/akamai.admin.inc
@@ -82,6 +82,21 @@ function akamai_cache_control() {
     '#description' => t('Enter one URL per line. URL entries should be relative to the basepath. (e.g. node/1, content/pretty-title, sites/default/files/some/image.png'),
   );
 
+  if ($basepath = variable_get('akamai_basepath', FALSE)) {
+    $basepath = parse_url($basepath);
+    $hostname = $basepath['host'];
+  }
+  else {
+    $hostname = $_SERVER['HTTP_HOST'];
+  }
+
+  $form['clear_all'] = array(
+    '#type' => 'checkbox',
+    '#title' => t("Clear all paths"),
+    '#default_value' => FALSE,
+    '#description' => t('This will clear <strong>all</strong> paths associated with %hostname. Use with caution.', array('%hostname' => $hostname)),
+  );
+
   $form['domain_override'] = array(
     '#type'          => 'select',
     '#title'         => t('Domain'),
@@ -126,7 +141,6 @@ function akamai_cache_control() {
  * Process the settings and submit to Akamai
  */
 function akamai_cache_control_submit($form, &$form_state) {
-  $paths = split("\n", filter_xss($form_state['values']['paths']));
   $action = $form_state['values']['refresh'];
 
   $overrides = array(
@@ -135,13 +149,26 @@ function akamai_cache_control_submit($form, &$form_state) {
     'email'  => $form_state['values']['email'],
   );
 
-  $did_clear = akamai_clear_url($paths, $overrides);
-  if ($did_clear) {
+  if ($form_state['values']['clear_all']) {
+    $eccu = new AkamaiEnhancedCacheControlClient();
+    $response_matches = array(
+      'response-header' => array(
+        array('Host' => $hostname)
+      )
+    );
+    $res = $eccu->clear($response_matches);
+  }
+  else {
+    $paths = split("\n", filter_xss($form_state['values']['paths']));
+    $res = akamai_clear_url($paths, $overrides);
+  }
+
+  if ($res) {
     $message = t("Akamai Cache Request has been made successfully, please allow 10 minutes for changes to take effect.") . theme("item_list", $paths);
     drupal_set_message($message);
   }
   else {
-    drupal_set_message( t("There was a problem with your cache control request.  Check your log messages for more information.", array(), 'error') );
+    drupal_set_message(t("There was a problem with your cache control request.  Check your log messages for more information."), array(), 'error');
   }
 }
 
