[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • Last Modified:

whitespace remove using HtmlCompressFormat(content)

was asking my hosting company how to get rid of whitespace his answer was to use the framework where everything runs throught index.cfm ie

<cfsavecontent variable="content">
your normal index.cfm content here

could anyone explain this method to me mainly is this some i have to do or does this just work, i have read it speed up the page load time, but how when i has to do something extra?
1 Solution
pigmentartsAuthor Commented:
PS I have tried using it like above but all i get is:

 Variable HTMLCOMPRESSFORMAT is undefined.
You can use

<cfprocessingdirective suppresswhitespace="yes">

It must be placed in the first 4096 bytes of your page


Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now