Entity Types are not cached - but static array
Description
When installing a 2pack that creates an entity type - I noticed that a server restart is required - I tested installing the kanbanboard plugin from apache felix and trying to save a record in control access threw this exception:
Cause is the static array of entity types.
I tihnk that array must be moved better to a standard cache instance that is cleared with the normal cache reset.
Environment
None