Cache iteration template

Rationale: https://github.com/montagejs/montage/pull/1363#issuecomment-29874878