Welcome Guest, Not a member yet? Register   Sign In
Problem with caching
#1

[eluser]mikekiche[/eluser]
Hi,

I am new to CodeIgniter.
I would like to use the caching capability of codeigniter.
i left the config path as default :
$config['cache_path'] = '';
then i put in in my controller's function
$this->output->cache(1);

The first time i access the function, it displays my page, but then, if i want to display it again.
If the cache time duration is not over (here 1 mn), it just displays me a blank page...

I use codeigniter 2.0

Thanks for you help.

Michael


Edit : It seems to be a problem from codeigniter 2.0 because i just tried the same thing in codeigniter 1.7.2. and there is no problem.


Messages In This Thread
Problem with caching - by El Forum - 11-13-2010, 09:51 AM
Problem with caching - by El Forum - 11-13-2010, 07:47 PM
Problem with caching - by El Forum - 11-13-2010, 11:54 PM
Problem with caching - by El Forum - 11-14-2010, 08:00 AM
Problem with caching - by El Forum - 11-14-2010, 01:31 PM
Problem with caching - by El Forum - 11-14-2010, 03:30 PM
Problem with caching - by El Forum - 11-14-2010, 04:13 PM
Problem with caching - by El Forum - 11-14-2010, 04:15 PM
Problem with caching - by El Forum - 11-14-2010, 04:19 PM
Problem with caching - by El Forum - 11-14-2010, 04:20 PM
Problem with caching - by El Forum - 11-14-2010, 04:29 PM
Problem with caching - by El Forum - 11-14-2010, 04:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB