The Needs Review Queue Bot β tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.
- Status changed to Needs review
over 1 year ago 7:59pm 6 April 2023 - πΊπΈUnited States muriqui
Reroll of #168, resolving two conflicts:
- In ContentEntityStorageBase::setPersistentCache, cache tags are now set using the
$items
array and$this->cacheBackend->setMultiple($items)
, rather thanthis->cacheBackend->set()
as in #168. - In SqlContentEntityStorageTest::testLoadMultiplePersistentCacheMiss, changed
$entity->expects($this->any())->method('isDefaultRevision')->will($this->returnValue(TRUE));
to$entity->expects($this->any())->method('isDefaultRevision')->willReturn(TRUE);
- In ContentEntityStorageBase::setPersistentCache, cache tags are now set using the
The last submitted patch, 172: 2620980-172.patch, failed testing. View results β
- last update
over 1 year ago Patch Failed to Apply - Status changed to Needs work
about 1 year ago 8:49am 8 November 2023 - π§πͺBelgium weseze
Patch applies correctly to latest releases of both D9 and D10. (haven't tested dev)
We are using it to fix serious performance issues in a heavy customised layout builder setup. Layout builder pages can contains up to 100 inline blocks. (but really there is no actual hard limit for us)Before the patch (while editing and translating pages with LB) we had 5-10.000 SQL queries taking 3-5seconds of loading time. (depending on the complexity of the layout builder setup on the page)
After the patch this went down to few hundred SQL queries and e few hundred ms of loading time.This is a lifesaver for us, so thanks to everyone here for all the work put in!
- First commit to issue fork.
- Merge request !6814Use static and persistent entity cache for ContentEntityStorageBase::loadRevision. β (Open) created by capysara
- π³π±Netherlands dennisdk
Rerolled the patch to 10.3, since the current changes are aimed toward 11.x