Skip to content
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

Cache loaded ContentContainer #3715

Open
buddh4 opened this issue Oct 31, 2019 · 0 comments
Open

Cache loaded ContentContainer #3715

buddh4 opened this issue Oct 31, 2019 · 0 comments

Comments

@buddh4
Copy link
Contributor

buddh4 commented Oct 31, 2019

Sometimes there are many $model->content->container calls for different models. We should cache already loaded containers by contentcontainer_id in order to prevent reloading already fetched containers.

https://www.yiiframework.com/doc/guide/2.0/en/caching-data#query-caching

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant