-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat: add Config\Optimize #8605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
👋 Hi, @kenjis! |
f739169
to
5ceaf06
Compare
👋 Hi, @kenjis! |
5ceaf06
to
cf15ad0
Compare
and move code from index.php to Boot class.
This setting is for Web Page Caching, not for Cache service.
The Cache Config class that extends BaseConfig is very slow to instantiate.. See codeigniter4#8558 (comment)
cf15ad0
to
0e81024
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this idea. It is much easier to manage.
Needs #8604Description
Config\Optimize::$configCacheEnabled
Config\Optimize::$locatorCacheEnabled
Config\Optimize
does not extendBaseConfig
intentionally.Because simple plain small class is very fast to instantiate. See #8558 (comment)
Checklist: