Save template analyze result into persistent cache.