Welcome Guest, Not a member yet? Register   Sign In
[Closed, I give up] CodeIgniter caching and login-logout behaviour
#1

[eluser]goFrendiAsgard[/eluser]
I'm using Phil Sturgeon template library in my CMS
I think it would be better if I also add some caching mechanism.
First, I use CI default caching:
Code:
$this->output->cache($minutes);

It works well for view, but there is no cache for everything generated by template library (I checked application/cache)

After browse a while, I found this method:
Code:
$this->template->set_cache($minutes);

Okay and it is done.

The problem is, whenever user login or logout, it seems that the cache is still used. So that even if a user has enter the password correctly, the login screen will just simply appear because it is cached. Do anyone know how to delete the cache in this case?

EDIT : I think what I need is partial caching, Am I correct? and how to do that?
EDIT : I think it is not template library issue


Messages In This Thread
[Closed, I give up] CodeIgniter caching and login-logout behaviour - by El Forum - 02-18-2012, 04:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB