CFML

ColdFusion cftree and GZip compression

Web-Developers always try to find a way to speed up the application and especially with the new ColdFusion 8 and all its Ajax functionality, if used in full can weight in at around 500k, we try to do "everything" to get better performances.

That said, we lately investigated the use of Gzip compression on the server. Actually the installation and usage is quite simple and indeed works quite well. Unless…

Unless you want to use cftree as a HTML/Ajax variant. If you try to get your cftree code running you will not see any errors, all you will see is a blank page. Actually, it took us a long time until we figured this out. Thus we changed the configuration of the Gzip to not use it on all templates but only on *.cfm files. Using it with this setting and your cftree code will work again.

Share and Enjoy:
  • Facebook
  • Digg
  • TwitThis
  • Sphinn
  • del.icio.us
  • Mixx
  • Google
  • MisterWong
  • StumbleUpon

If you enjoyed this post, make sure you subscribe to the RSS feed!

speak up

Add your comment below, or trackback from your own site.

Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*Required Fields

nitai@sixsigns.com