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.
Merge pull request #853 from lovenunu/loop-nocache

Allow loops not to be cached