CodeIgniter Forums
How to enable cache in Toolbar? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: How to enable cache in Toolbar? (/showthread.php?tid=85881)



How to enable cache in Toolbar? - ValdisM - 12-16-2022

Hi,
By default in Toolbar config it offers to enable Cache output witha a path to collectors. But cache.php is not there.

Toolbar collector does not exist (CodeIgniter\Debug\Toolbar\Collectors\Cache). Please check $collectors in the app/Config/Toolbar.php file.

Maybe anyone can help on this?

Thanks.


RE: How to enable cache in Toolbar? - kenjis - 12-17-2022

It seems Collectors\Cache is not yet implemented.
So you need to implement it if you want.


RE: How to enable cache in Toolbar? - kenjis - 12-17-2022

I created an issue: https://github.com/codeigniter4/CodeIgniter4/issues/6988


RE: How to enable cache in Toolbar? - ValdisM - 12-18-2022

Would be very useful with options like " Clear cache via toolbar".