Welcome Guest, Not a member yet? Register   Sign In
Config Property for Turning on Config Cache
#1

(This post was last modified: 10-23-2023, 05:26 AM by donpwinston.)

Any reason why there is not a config property we can set in .env to turn on the new Config cache feature? I don't like modifying the index.php file.
Simpler is always better
Reply
#2

this is a test feature. not for everyone. you can add the code for Config, env yourself or send PR on github
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply
#3

1. because the prerequisites are complex and the feature is not suitable for everyone.
2. to reduce the overhead to zero when Config Caching is not used.
Reply
#4

I sent a PR to add the property:
https://github.com/codeigniter4/CodeIgniter4/pull/8558
Reply




Theme © iAndrew 2016 - Forum software by © MyBB