Regression: Api4 causes container being rebuild on every request
The api4 is checking for the directories Civi/Api4/Event/Subscriber
and Civi/Api4/Service/Spec/Provider
in every enabled extension. And if that directory does not exists the container will be rebuild. This checking is done every request and is part of the routine the check whether the container needs rebuilding.
This will slow down performance as the civi container is not cached anymore.
There is a work around, adding the directories: Civi/Api4/Event/Subscriber
and Civi/Api4/Service/Spec/Provider
to every extension.
I have given this the regression label as I do think it is a regression.
Related PR