Afform - Improve loading performance
authorcolemanw <coleman@civicrm.org>
Wed, 11 Oct 2023 15:37:57 +0000 (11:37 -0400)
committercolemanw <coleman@civicrm.org>
Mon, 6 Nov 2023 20:16:12 +0000 (15:16 -0500)
commit604cca726c6a238e0530b5f660ab0e11596da090
tree61f2c3bf51e809f4e7519ef9e395cafcd2e65607
parentaba8469f64b592a4d666748209ded3e691d5fcb9
Afform - Improve loading performance

Before: Angular modules were not cached, afform loading was slow
After: Cache previously used for afform dependencies now used for all Angular modules
Civi/Angular/Manager.php
Civi/Api4/Utils/CoreUtil.php
Civi/Core/Container.php
ext/afform/core/CRM/Afform/AfformScanner.php
ext/afform/core/Civi/Afform/AngularDependencyMapper.php
ext/afform/core/Civi/Api4/Action/Afform/Get.php
ext/afform/core/afform.php
ext/afform/mock/tests/phpunit/api/v4/AfformContactUsageTest.php
ext/afform/mock/tests/phpunit/api/v4/AfformTest.php
tests/phpunit/Civi/Angular/LoaderTest.php