Hi every body .
I have trying to disable cache mode on MVC phalcon application .
Did not get any work .
My site have 100 Post in hour . And its important to disable cache mode .
How can i solve this problem ?
here is my services.php code :
$config = $this->getConfig();
$view = new View();
$view->setDI($this);
$view->setViewsDir($config->application->viewsDir);
$view->registerEngines([
'.volt' => function ($view) {
$volt = new \Phalcon\Mvc\View\Engine\Volt($view, $this);
$compiler = $volt->getCompiler();
$compiler->addFunction('time', 'time');
$compiler->addFunction('str_replace', 'str_replace');
return $volt;
},
'.phtml' => PhpEngine::class
]);
return $view;