Welcome Guest, Not a member yet? Register   Sign In
output's cache and performance
#3

[eluser]tomcode[/eluser]
0. Make sure Your cache path is correct (application/config.php) and the cache folder is writable

1. It does not matter were You call $this->output->cache(600), as long as it get's executed Wink

2. to check what's going on, set the log threshold to 2 in application/config.php

For the fist run Your log should show You
Code:
..
DEBUG - 2011-07-28 05:28:27 --> Cache file written: application/cache/5e707dc050024f67a67f3b0110243721
DEBUG - 2011-07-28 05:28:27 --> Final output sent to browser
DEBUG - 2011-07-28 05:28:27 --> Total execution time: 0.0572

For the second and subsequent runs You should see
Code:
..
DEBUG - 2011-07-28 05:28:42 --> Final output sent to browser
DEBUG - 2011-07-28 05:28:42 --> Total execution time: 0.0295
DEBUG - 2011-07-28 05:28:42 --> Cache file is current. Sending it to browser.


Messages In This Thread
output's cache and performance - by El Forum - 07-27-2011, 02:43 AM
output's cache and performance - by El Forum - 07-27-2011, 07:40 PM
output's cache and performance - by El Forum - 07-27-2011, 09:39 PM
output's cache and performance - by El Forum - 07-27-2011, 10:07 PM
output's cache and performance - by El Forum - 07-28-2011, 12:25 AM
output's cache and performance - by El Forum - 07-28-2011, 12:38 AM
output's cache and performance - by El Forum - 07-28-2011, 06:24 AM
output's cache and performance - by El Forum - 07-28-2011, 06:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB