[TIMOB-13660] (3_1_X) Set up proper messaging when managing cache

Cherry Pick PR #4221 into 3_1_X

Fixes [TIMOB-13660](https://jira.appcelerator.org/browse/TIMOB-13660)

Regress against KitchenSink