LPS-49135 Decouple cache configuration and ehcache.

Hi Shuyang,

This is the second part of LPS-49135 and the first part of LPS-48578(Add aggregated cache event listener).
These two parts need to be together or else cache does not work correctly.

Thanks.
Tina.