Customizing CodeIgniter cache folder location? |
I have identified a file, "Cache.php," within the app/config directory that enables the configuration of the cache folder for the CodeIgniter 4 framework. Given the substantial number of pages, the Linux directory is already inundated with numerous files.
I aim to designate the $storePath variable to a specific folder. Is there a method to achieve this? For example, when I employ the cache for controller "A" ($this->cachePage(1000)), I wish to concurrently specify the folder for this particular controller. I would greatly appreciate any assistance with this matter. Thank you in advance. |
Welcome Guest, Not a member yet? Register Sign In |