You are here

function esi_admin_flush_cache_button in ESI: Edge Side Includes 6.2

Cache clear button.

1 call to esi_admin_flush_cache_button()
esi_admin_flush_cache in ./esi.admin.inc
Cache clear callback for admin_menu/flush-cache/esi.
1 string reference to 'esi_admin_flush_cache_button'
esi_admin_settings_form in ./esi.admin.inc
Admin settings form

File

./esi.admin.inc, line 268
Admin settings for ESI.

Code

function esi_admin_flush_cache_button() {
  cache_clear_all('esi:', 'cache_page', TRUE);
  drupal_set_message(t("ESI's drupal cache (cache_page table) cleared."));
}