Allow loops not to be cached

Today, all the loops are cached. In some cases ( api ... ), this is a problem.
This adds a "no-cache" argument to the loops.