You are here

function esi_admin_menu in ESI: Edge Side Includes 6.2

Implementation of hook_admin_menu().

Add in a cache flush for esi.

File

./esi.module, line 189
Adds support for ESI (Edge-Side-Include) integration, allowing blocks to be\ delivered by ESI, with support for per-block cache times.

Code

function esi_admin_menu(&$deleted) {
  $links = array();
  $links[] = array(
    'title' => 'ESI: cache_page',
    'path' => 'admin_menu/flush-cache/esi',
    'query' => 'destination',
    'parent_path' => 'admin_menu/flush-cache',
  );
  return $links;
}