bclingan said the following on 11/04/2013 02:40 PM:
> I will double check our settings, but I believe we had all debugging
> turned off... the dataset in question that I'm attempting to render is
> 3000 records and each record has 6 links.
>
Holy cow that is a lot of links to generate (~18,000). I can see it
taking a couple of seconds due to all the string concatenation going on
(which CFML isn't the fastest at doing).
You might be better off doing it manually or optionally generate temp
links with placeholders:
<cfset variables.link_01 = BuildUrlToModule("modulename", "eventname",
"id=XXXX") />
Then use ReplaceNoCase to replace the ID placeholder of XXXX:
<a href="#ReplaceNocase(variables.link_01, "XXXX",
qry.id[i])#">Link</a>
You still the benefits of using BuildUrl without having to call it
18,000 times. It won't be as fast a hard coding urls with variable
output, but it should be much faster.