Clone wiki

Lucee / Lucee_5_Tags

Home | Lucee 5

Loop - times

Lucee 5 also extends the popular cfloop tag with a new way to do a very simple and fast loop. If you have simply to loop something a certain number of times and you do not require an index, this is the fastest way to do it.


<cfloop times="5"> 
    Hi There

  loop times="5" {
     echo("Hi There");


The attribute cachedWithin that you will already know from tags like cffunction or cfquery is now also supported for the following tags:

  • cffile
  • cfhttp