![]() |
Personal cache folder for a controller on CI4 (Code igniter 4) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Model-View-Controller (https://forum.codeigniter.com/forumdisplay.php?fid=10) +--- Thread: Personal cache folder for a controller on CI4 (Code igniter 4) (/showthread.php?tid=79329) |
Personal cache folder for a controller on CI4 (Code igniter 4) - jzin7 - 05-29-2021 I see that theres a file on app/config/Cache.php where we can set the folder of the cache for the code igniter 4 framework. As long as i do have many pages, the linux folder already has too many files. I would like to set the $storePath variable to an specific folder. How could it be possible? For instance, for the controller "A", when i set the cache ($this->cachePage(1000) ![]() Can anyone help me, please? Thanks in advance. |