How do you clear the Response buffer in ColdFusion?
You can reset the output buffer using the cfcontent tag with the reset argument:
<cfcontent reset="true">
This will clear the response body and prevent the output of buffered content -
<cfset GetPageContext().getCFOutput().clear()>