Index: draggableviews.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/draggableviews/draggableviews.inc,v
retrieving revision 1.7.2.37
diff -u -p -r1.7.2.37 draggableviews.inc
--- draggableviews.inc	7 Sep 2009 19:14:47 -0000	1.7.2.37
+++ draggableviews.inc	27 Jan 2011 03:12:13 -0000
@@ -163,6 +163,7 @@ function _draggableviews_info($view, $in
   $info['depth'] = 0;
 
   $info['default_on_top'] = !empty($options['draggableviews_default_on_top']) ? TRUE : FALSE;
+  $info['clear_cache'] = !empty($options['draggableviews_clear_cache']);
 
   // Get all nodes and their properties.
   $info['nodes'] = array();
@@ -678,6 +679,11 @@ function _draggableviews_save_hierarchy(
     $handler = $info['order']['field']['handler'];
     $handler->save($nid, $value);
   }
+
+  // Clear the page cache, if the view is configured to do so.
+  if ($info['clear_cache']) {
+    cache_clear_all();
+  }
 }
 
 /**
Index: draggableviews_theme.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/draggableviews/draggableviews_theme.inc,v
retrieving revision 1.6.2.31
diff -u -p -r1.6.2.31 draggableviews_theme.inc
--- draggableviews_theme.inc	27 Aug 2010 14:10:30 -0000	1.6.2.31
+++ draggableviews_theme.inc	27 Jan 2011 03:12:14 -0000
@@ -406,6 +406,7 @@ function theme_draggableviews_ui_style_p
   $draggableviews_default_on_top = drupal_render($form['draggableviews_default_on_top']);
 
   $draggableviews_button_text = drupal_render($form['draggableviews_button_text']);
+  $draggableviews_clear_cache = drupal_render($form['draggableviews_clear_cache']);
 
   // Let extension modules append to the output
   $extensions = array();
@@ -452,6 +453,7 @@ function theme_draggableviews_ui_style_p
   $output .= $draggableviews_default_on_top;
   // Append button text.
   $output .= $draggableviews_button_text;
+  $output .= $draggableviews_clear_cache;
   // append extension modules output
   $output .= implode('', $extensions);
 
Index: views/draggableviews_plugin_style_draggabletable.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/draggableviews/views/draggableviews_plugin_style_draggabletable.inc,v
retrieving revision 1.1.2.36
diff -u -p -r1.1.2.36 draggableviews_plugin_style_draggabletable.inc
--- views/draggableviews_plugin_style_draggabletable.inc	19 Oct 2010 21:10:03 -0000	1.1.2.36
+++ views/draggableviews_plugin_style_draggabletable.inc	27 Jan 2011 03:12:14 -0000
@@ -32,6 +32,7 @@ class draggableviews_plugin_style_dragga
     $options['tabledrag_lock'] = array('default' => array());
     $options['draggableviews_default_on_top'] = array('default' => TRUE);
     $options['draggableviews_button_text'] = array('default' => t('Save order'));
+    $options['draggableviews_clear_cache'] = array('default' => FALSE);
     $options['draggableviews_arguments'] = array('default' => array());
 
     return $options;
@@ -349,6 +350,13 @@ class draggableviews_plugin_style_dragga
       '#default_value' => $current['draggableviews_button_text'],
     );
 
+    $form['draggableviews_clear_cache'] = array(
+      '#type' => 'checkbox',
+      '#title' => t('Clear page cache after saving.'),
+      '#description' => t('This will ensure anonymous users see changes immediately, at the expense of performance.'),
+      '#default_value' => $current['draggableviews_clear_cache'],
+    );
+
     // Let extension modules alter the output
     foreach (module_implements('draggableviews_style_plugin_form_alter') as $module) {
       $function = $module .'_draggableviews_style_plugin_form_alter';
