function _drupal_flush_css_js

Same name and namespace in other branches
  1. 6.x drupal-6.x/includes/common.inc \_drupal_flush_css_js()

Changes the dummy query string added to all CSS and JavaScript files.

Changing the dummy query string appended to CSS and JavaScript files forces all browsers to reload fresh files.

2 calls to _drupal_flush_css_js()
drupal_flush_all_caches in drupal-7.x/includes/common.inc
Flushes all cached data on the site.
update_info_page in drupal-7.x/update.php
Provides an overview of the Drupal database update.

Archivo

drupal-7.x/includes/common.inc, line 7471
Common functions that many Drupal modules will need to reference.

Código

function _drupal_flush_css_js() {
  // The timestamp is converted to base 36 in order to make it more compact.
  variable_set('css_js_query_string', base_convert(REQUEST_TIME, 10, 36));
}