Lines Matching refs:cache
23 * For pages containing an aggregation, add structpublish flag to cache key
31 /** @var \dokuwiki\Cache\CacheParser $cache */
32 $cache = $event->data;
33 if ($cache->mode != 'xhtml') return true;
34 if (!$cache->page) return true; // not a page cache
36 $meta = p_get_metadata($cache->page, 'plugin struct');
39 $cache->key .= ';' . helper_plugin_structpublish_db::userHasRole($cache->page, '', []);
41 // rebuild cache name
42 $cache->cache = getCacheName($cache->key, $cache->ext);