2

I saved a cache entry using cache_set(). How can I clear this entry using Drush?

3

You can create a custom drush command to call the cache_clear_all function or just use:

drush ev "cache_clear_all('my_module', 'cache', TRUE);"

You can read more about cache_clear_all in A Beginner's Guide to Caching Data in Drupal 7

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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