Index: webform_components.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/webform/webform_components.inc,v
retrieving revision 1.9.2.29
diff -u -p -r1.9.2.29 webform_components.inc
--- webform_components.inc	3 Jun 2009 19:47:15 -0000	1.9.2.29
+++ webform_components.inc	10 Jun 2009 22:35:48 -0000
@@ -264,6 +264,10 @@ function webform_components_form_submit(
   }
   else {
     drupal_set_message(t('The component positions and mandatory values have been updated.'));
+    // Since webform components have been updated but the node itself has not
+    // been saved, it is necessary to explicitly clear the cache to make sure
+    // the updated webform is visible to anonymous users.
+    cache_clear_all();
   }
 }
 
@@ -458,6 +462,10 @@ function webform_component_edit_form_sub
     drupal_set_message(t('New component %name added.', array('%name' => $form_state['values']['name'])));
     $cid = webform_component_insert($form_state['values']);
   }
+  // Since webform components have been updated but the node itself has not
+  // been saved, it is necessary to explicitly clear the cache to make sure
+  // the updated webform is visible to anonymous users.
+  cache_clear_all();
 
   $form_state['redirect'] = array('node/'. $form_state['values']['nid'] .'/edit/components', isset($cid) ? 'cid='. $cid : '');
 }
