Avoid computing the same fragment digest many times when looping over templates. The cache is cleared on every request so template changes are still picked up.