Wanted to clear some misinformation that my previous post might have had. My original perception was that playback got stuck when the current frame reached first non-cached frame, but this is probably incorrect.
I did some additional tests with new scene and got playback freeze even when current frame hadn’t reached last cached frame. In case when caching stopped later in timeline, playback stopped when it reaches that last cached frame.
Actually caching behaves a bit strange as if I make the playback frame rate higher it works better, but with low fps (1 or 2) caching stops for moments every now and then. Also full frame range gets cached faster with higher fps than lower fps, even though playback speed shouldn’t affect caching. I also tested for comparison animated God Rays effect on Colorwheel without animated transform and even though it was slow, it still continued caching and playback. Sometimes it stopped for quite long time and then suddenly caching finished about additional 30 frames at once and playback continued.
I will try to pinpoint the problem another day with more structured tests even though I can’t fix anything if find the cause.