In Codeigniter, Twig project always to refresh cache - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7) +--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13) +--- Thread: In Codeigniter, Twig project always to refresh cache (/showthread.php?tid=65821) |
In Codeigniter, Twig project always to refresh cache - mstdmstd - 07-27-2016 Hello, In Codeigniter 3.0.6, Twig 1.24.0 project if in twig code I would like to clear all cache on any page reload. In some cases it seems to me, that after I modify some twig and reload page by CTRL+R, the new changes were not applied to this page. After I manually delete twig files it works ok. twig is included to project as library https://github.com/kenjis/codeigniter-ss-twig: PHP Code: $twig_config = array(); $this->config is filled with : PHP Code: $this->config::Array In $twig_Environment object output: PHP Code: $twig_Environment::Twig_Environment Object In codeigniter-ss-twig object I see : PHP Code: $debug= true; // for development envierement of CI project. Thanks ! |