+ If cache is hit, add a header.
This commit is contained in:
@@ -2279,6 +2279,7 @@ class baseRouter
|
||||
|
||||
if($cache->has($cacheKey))
|
||||
{
|
||||
if(!headers_sent()) header('X-Zt-Hit-Cache: 1');
|
||||
$content = $cache->get($cacheKey);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user