CodeIgniter Forums
globally enable/disable page cache - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: globally enable/disable page cache (/showthread.php?tid=29541)



globally enable/disable page cache - El Forum - 04-13-2010

[eluser]skimmas[/eluser]
Hello.

Is there any simple way to globally enable/disable de page cache? Can it be done by extending the controller?

thanks in advance


globally enable/disable page cache - El Forum - 04-13-2010

[eluser]Jelmer[/eluser]
Extend the Controller class and switch caching on in it's new constructor, that should make it glabally switched on.