* framework: enable cache if the mode is running.
This commit is contained in:
@@ -1064,7 +1064,7 @@ class baseControl
|
||||
*/
|
||||
public function setResponseHeader()
|
||||
{
|
||||
if($this->config->cache->client->enable && $this->app->useClientCache)
|
||||
if($this->app->isServing() && $this->config->cache->client->enable && $this->app->useClientCache)
|
||||
{
|
||||
helper::setStatus(304);
|
||||
helper::end();
|
||||
|
||||
Reference in New Issue
Block a user