You are here

function esi_esi_cache_clear_cache in ESI: Edge Side Includes 6.2

Clear cached content.

Cache clears are always for an entire display, regardless of arguments.

1 string reference to 'esi_esi_cache_clear_cache'
esi.inc in plugins/cache/esi.inc
ESI cache plugin. Substitutes esi-tags for a panel-pane's content.

File

plugins/cache/esi.inc, line 70
ESI cache plugin. Substitutes esi-tags for a panel-pane's content.

Code

function esi_esi_cache_clear_cache($display) {

  // TODO: wipe the varnish cache.
  cache_clear_all('esi:', 'cache_page', TRUE);
  cache_clear_all('esi_esi_cache:', 'cache', TRUE);
}