[blomdhal], add comments for control flow with cache_on/off/flush