0

Update: BlogCFC Enhancement

Technical

Yesterday evening, Dave sent Ray an email to let him know about my changes to BlogCFC and at almost the same time I found a problem with my code (figures, right?).

I realized that I hadn't made one change that should've been made in order to maximize performance. When the feed XML is generated, Ray is caching the output. When I moved the method call that generates the XML to a variable assignment, I neglected to move the caching mechanism as well.

When Ray asked for my code, I tried to look smart and made that change before shipping it off. Of course, in my attempt to look smart, I did something very dumb - isn't that always how it happens? I implemented the change incorrectly and neglected to test. Fortunately, Ray set me straight and sent back a corrected implementation. Here it is:

Just replace the variable assignment for variables.feedXML with the code above and you're all set.

Thanks, Ray.

tags:
ColdFusion

Search

Rob  Wilkerson