Skip to content

feat: add Config\Optimize - #8605

Merged
kenjis merged 9 commits into
codeigniter4:4.5from
kenjis:feat-add-config-optimize
Mar 27, 2024
Merged

feat: add Config\Optimize#8605
kenjis merged 9 commits into
codeigniter4:4.5from
kenjis:feat-add-config-optimize

Conversation

@kenjis

@kenjis kenjis commented Mar 4, 2024

Copy link
Copy Markdown
Member

Needs #8604

Description

  • add config to enable caching features
    • Config\Optimize::$configCacheEnabled
    • Config\Optimize::$locatorCacheEnabled

Config\Optimize does not extend BaseConfig intentionally.
Because simple plain small class is very fast to instantiate. See #8558 (comment)

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@kenjis kenjis added enhancement PRs that improve existing functionalities 4.5 labels Mar 4, 2024
@kenjis
kenjis marked this pull request as draft March 4, 2024 00:44
@github-actions github-actions Bot added the stale Pull requests with conflicts label Mar 7, 2024
@github-actions

github-actions Bot commented Mar 7, 2024

Copy link
Copy Markdown

👋 Hi, @kenjis!

We detected conflicts in your PR against the base branch 🙊
You may want to sync 🔄 your branch with upstream!

Ref: Syncing Your Branch

@kenjis
kenjis force-pushed the feat-add-config-optimize branch from f739169 to 5ceaf06 Compare March 7, 2024 07:43
@kenjis kenjis removed the stale Pull requests with conflicts label Mar 7, 2024
@github-actions

Copy link
Copy Markdown

👋 Hi, @kenjis!

We detected conflicts in your PR against the base branch 🙊
You may want to sync 🔄 your branch with upstream!

Ref: Syncing Your Branch

@github-actions github-actions Bot added the stale Pull requests with conflicts label Mar 18, 2024
@kenjis
kenjis force-pushed the feat-add-config-optimize branch from 5ceaf06 to cf15ad0 Compare March 18, 2024 01:54
@kenjis kenjis removed the stale Pull requests with conflicts label Mar 18, 2024
@kenjis
kenjis force-pushed the feat-add-config-optimize branch from cf15ad0 to 0e81024 Compare March 26, 2024 21:20
@kenjis
kenjis marked this pull request as ready for review March 26, 2024 21:27

@michalsn michalsn left a comment

Copy link
Copy Markdown
Member

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.

@kenjis
kenjis merged commit 6fd8afb into codeigniter4:4.5 Mar 27, 2024
@kenjis
kenjis deleted the feat-add-config-optimize branch March 27, 2024 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement PRs that improve existing functionalities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants