We want to clear the multiple sites cache from one site, currently we have multi-site configuration. Is there any module?

closed as off-topic by kiamlaluno Jun 3 '16 at 16:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking to recommend or find a book, tool, module, theme, distribution, tutorial, or other off-site resource are off-topic for Drupal Answers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – kiamlaluno
If this question can be reworded to fit the rules in the help center, please edit the question.


You can easily configure drush aliases for this.

Having properly configured drush brings so many benefits, especially if you work with multiple environnements for your sites.

As an example, say you have aliases defined for example.com as follows:,

@example.local, @example.staging, @example.prod

See a status of all 3 sites:

drush @example st

Clear the cache on local env:

drush @example.local cc all

Dump production database and load it into local:

drush @example.prod sqldump | drush @example.dev sqlc

Anyways, you get the idea. Packing your drush.rc file with your project in git (shove it in /sites/all/drush/drushrc.php ) will allow anyone working on those projects to have those aliases fully defined on every code checkout. Happy codings, cheers!

Not the answer you're looking for? Browse other questions tagged or ask your own question.