- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
if ( ($cache = isset($this->cache[0]) ? $this->cache[0] : null) != null ) {
$isNeedCache = $cache->isNeedCache($plug);
}
if ( !$isNeedCache || !$cache->getPlugCache($plug, $plugInfo) ) {
/** processing: running plug */
$this->dispatcher->processPlug($request, $response);
if ($isNeedCache)
$cache->setPlugCache($plug, $plugInfo);
}