• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cache docs possible error

#1
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/libra...put::cache

But on this page, for the same function it says it has to be in minutes:
https://codeigniter.com/user_guide/gener...ng-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
Reply

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

#3
https://github.com/bcit-ci/CodeIgniter/c...bc13c95469

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

#4
(01-20-2016, 03:11 AM)Narf Wrote: https://github.com/bcit-ci/CodeIgniter/c...bc13c95469

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

Thank you for clearing this out.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.