Drupal's cache and image styles are very frequently recreated in the early stages of a project. On one hand, new menu entries are added, blocks are removed, and features are reverted among others. On the other, image styles are created and then modified several times so the images that use them suit new design requirements. These two can be cleared out with simple and very similar commands.
Clearing out the cache is one of the most common tasks in a Drupal site. Drupal has a few cache tables which share the same structure and are used to store data of a particular nature. Drush comes with a handy command for clearing out these tables: cache-clear
. Without arguments, it prompts with the list of available cache types that can be cleared out:
$ cd /home/juampy/projects/drupal
$ drush cache-clear
Enter a number to choose which cache to clear.
[0] : Cancel
[1] : all
[2] : theme registry
[3] : menu
[4]...