I'm using domain module with several domains. With drush you can clear cache using cc command. I have only one database for all domains.

I'm wondering can I clear cache using only specific domain (with -l option) if I'm using same DB for all domains?

e.g: $ drush -l http://www.example.com cc all

1 Answer 1


With just core this is not possible. If you where to write your own cache backend then what you're asking for could be done. An example of a custom cache backend is http://drupal.org/project/adbc

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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