Blog posts made on 10-Jan-11
ColdFusion 9 And CFCACHE Backwards Compatibility

As a general rule we are exceedingly careful to not break backwards compatibility when updating ColdFusion. But, sometimes this happens, and here is an example that a reader just alerted me to.

<cfcache> is used to cache the generated output of dynamic pages so as to improve performance. Prior to ColdFusion 9, the request query string was automatically used as part of the page identifier, so that pages with different query strings (URL parameters) would be cached independent of each other. In ColdFusion 9 this changed. As per the documentation, ColdFusion 9 added a new usequerystring attribute which specifies whether or not pages should be treated as unique if they only differ by query string. And unfortunately, the default is false, effectively changing <cfcache> behavior if this new attribute is not used.

The change was made to fix a specific bug. But, unfortunately, the implementation can break backwards compatibility.

Read More ›