Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1080
diff -u -p -u -p -r1.1080 common.inc
--- includes/common.inc	7 Jan 2010 07:45:03 -0000	1.1080
+++ includes/common.inc	7 Jan 2010 19:59:58 -0000
@@ -3300,6 +3300,9 @@ function drupal_get_css($css = NULL) {
           $rendered_css[] = theme('html_tag', array('element' => $element));
         }
         else {
+          // Add the modification time for each file to the array, so the
+          // cache filename md5 is sensitive to file changes.
+          $item['mtime'] = filemtime($item['data']);
           $preprocess_items[$item['media']][] = $item;
           // Mark the position of the preprocess element,
           // it should be at the position of the first preprocessed file.
@@ -3919,6 +3922,9 @@ function drupal_get_js($scope = 'header'
           $no_preprocess .= theme('html_tag', array('element' => $js_element));
         }
         else {
+          // Add the modification time for each file to the array, so the
+          // cache filename md5 is sensitive to file changes.
+          $item['mtime'] = filemtime($item['data']);
           $files[$item['data']] = $item;
         }
         break;
