Welcome Guest, Not a member yet? Register   Sign In
Using CI cache only when there's no session
#3

[eluser]Unknown[/eluser]
Hi skunbad,
Between the cache hook and the post_contoller_constructor hook Codeigniter the following classes: Input, Language, Loader, Controller, your controller and calls all the constructors. I suppose that is not as fast as the original cache, and it depends in what you do in the controller's constructor (I.E., fetching the user from the database).
In fact is almost like doing cache logic at the begining of the controller's method.
Sorry but I don't have satisfactory benchmarks either with the original and my version of the cache, I'm always getting mixed results Big Grin


Messages In This Thread
Using CI cache only when there's no session - by El Forum - 04-08-2010, 03:25 AM
Using CI cache only when there's no session - by El Forum - 04-08-2010, 10:56 PM
Using CI cache only when there's no session - by El Forum - 04-12-2010, 08:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB