kenjis / codeigniter-ss-twig

A Simple and Secure Twig integration for CodeIgniter 3.x and 4.x
MIT License
168 stars 46 forks source link

Delayed updates on views regarding changes made to variables on controllers. #33

Closed unknownbreakdown closed 7 years ago

unknownbreakdown commented 7 years ago

Hello. I've installed codeigniter-ss-twig, under Bitnami LAMP Stack, following the instructions using composer and also manually, and in both cases when changes are made to variables on controllers, there's a delay (after some page refreshes) to get them updated when the view is rendered on the browser. This issue is only regarding variables. Changes made to static content on the view gets updated immediately when the page refreshes. I've tried even setting up the cache to false on the libraries/Twig class.

It was a default Bitnami Lamp Stack configuration issue. I edited the php.ini file and changed option opcache.enable from 1 to 0. I couldn't imagine Bitnami LAMP Stack wasn't properly setup for development environments.

Great work with the codeigniter-ss-twig, Kenjis.

kenjis commented 7 years ago

@unknownbreakdown Thanks!