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

Second Cache Level - allow "default_multi" in region type #549

Closed
orfin opened this issue Jun 20, 2016 · 3 comments
Closed

Second Cache Level - allow "default_multi" in region type #549

orfin opened this issue Jun 20, 2016 · 3 comments
Assignees
Labels
Status: On Hold Most likely waiting for upstream resolution

Comments

@orfin
Copy link

orfin commented Jun 20, 2016

Currently it is only possible to configure "default" region type but doctrine/orm#954 introduced optimized Doctrine\ORM\Cache\Region\DefaultMultiGetRegion region that uses fetchMultiple method.

Proposal:

  • allow to use "default_multi" under second_level_cache.regions.type configuration.

BTW. currently DefaultMultiGetRegion is not even documented in Doctrine docs: http://doctrine-orm.readthedocs.io/projects/doctrine-orm/en/latest/reference/second-level-cache.html#cache-regions so I'm not sure if it is production-ready?

@kimhemsoe kimhemsoe self-assigned this Mar 29, 2018
@kimhemsoe
Copy link
Member

Pull requests are welcome :)

@ostrolucky
Copy link
Member

Doctrine team is contemplating switching to PSR caches in our projects. In such case this configuration would no longer be needed, as all PSR caches support multi get

@ostrolucky ostrolucky added the Status: On Hold Most likely waiting for upstream resolution label Dec 3, 2019
@dmaicher
Copy link
Contributor

dmaicher commented Dec 9, 2022

From what I can tell this is obsolete now. DefaultMultiGetRegion is deprecated and the second level cache is now using PSR caches.

@dmaicher dmaicher closed this as not planned Won't fix, can't repro, duplicate, stale Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: On Hold Most likely waiting for upstream resolution
Projects
None yet
Development

No branches or pull requests

4 participants