Welcome Guest, Not a member yet? Register   Sign In
Codeigniter Caching __construct conditionals
#1

[eluser]Unknown[/eluser]
Hey,


I am writing a codeigniter application at the moment that relies on users being logged in and having data stored in their session. I am trying to use CI caching but I am wondering if CodeIgniter still executes the code in the __construct statement in the controller even if the page being requested has a cached version to be served to the browser?

I'd really appreciate any info you guys can offer me


Thanks in advance

TechKnow
#2

[eluser]Dam1an[/eluser]
If the cahced version of the page exists, it won't reach the controler
See the flow chart for more info




Theme © iAndrew 2016 - Forum software by © MyBB