Fixes #4537: use a cache for read promise templates
Merge pull request #33 from fanf/ust_4521/dev_4537_use_cache_for_promise_template

Fixes #4537: use a cache for read promise templates