mode to cache dynamically on-demand