Cache query in C4 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Cache query in C4 (/showthread.php?tid=75677) |
Cache query in C4 - samyam - 03-04-2020 How to Cache Query in CI 4 RE: Cache query in C4 - includebeer - 03-08-2020 It depends what you want to cache, there’s a lot of things that can be cached: https://codeigniter4.github.io/userguide/search.html?q=Cache&check_keywords=yes&area=default If by query you mean database query, look at the cacheOn and cacheDir in the configuration file: https://codeigniter4.github.io/userguide/database/configuration.html?highlight=cache#explanation-of-values |