Forrest logo
back to the drush tool

drush:tldr:ee3b3

drush: Clear CSS and JavaScript caches.
$ drush cc css-js
try on your machine

The command "drush cc css-js" is used in the Drush command-line tool to clear the cached CSS and JavaScript files.

Here's a breakdown of each part of the command:

  • "drush": This is the command to invoke Drush.
  • "cc": This is a shorthand for "cache-clear", which is a Drush command that is used to clear different types of caches in Drupal.
  • "css-js": This is an argument to the "cc" command, specifying that we want to clear the cached CSS and JavaScript files specifically.

When you run this command, it will clear the cached CSS and JavaScript files in the Drupal site. This can be useful when you've made changes to CSS or JavaScript files and want those changes to take effect immediately.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the drush tool