CiviCRM Clear All Caches

Component ID

2098585

Component name

CiviCRM Clear All Caches

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1896

Component created

Component changed

Component body

This is a simple module that adds the same functions used by Drush to truncate CiviCRM's cache tables and clear files from template_c when Drupal's hook_flush_caches is called. Similar to CiviCRM Cron, the goal is to trigger the CiviCRM functions when the same function is called in Drupal. CiviCRM Clear All Caches will clear the CiviCRM caches when the Clear All Caches button is clicked in Administer > Development > Performance in the Drupal UI, when using drush cc, or when Pantheon users click the Clear Caches button in the Pantheon dashboard.