CodeIgniter Forums
Cache docs possible error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Cache docs possible error (/showthread.php?tid=64140)



Cache docs possible error - glennm - 01-19-2016

I have found something very confusing the CI 3 docs about output caching.

On this page it says that the parameter should be in seconds:
https://codeigniter.com/user_guide/libraries/output.html?#CI_Output::cache

But on this page, for the same function it says it has to be in minutes:
https://codeigniter.com/user_guide/general/caching.html#enabling-caching

I have always used minutes for my caching, but now I am not very sure if I am doing it correctly.

Could anyone please make this more clear for me, and maybe correct the docs.

Thanks

Glenn


RE: Cache docs possible error - Narf - 01-19-2016

Seems like there is an error, indeed.
I'll look into that tomorrow.


RE: Cache docs possible error - Narf - 01-20-2016

https://github.com/bcit-ci/CodeIgniter/commit/22df06b544cb74b4a71c0e1b0d9fa0bc13c95469

The online docs will be updated with the next framework release.


RE: Cache docs possible error - glennm - 01-20-2016

(01-20-2016, 03:11 AM)Narf Wrote: https://github.com/bcit-ci/CodeIgniter/commit/22df06b544cb74b4a71c0e1b0d9fa0bc13c95469

The online docs will be updated with the next framework release.

Thank you for clearing this out.