Skip to main content
Participant
December 22, 2008
Question

Cfswitch Question

  • December 22, 2008
  • 1 reply
  • 303 views
I have a CFSWITCH statement that has grown to be quite large. My first question is will that slow the loading of my home page down? My second question is can you use XML in some way to utilize cfswitch logic? If this will speed things up.
    This topic has been closed for replies.

    1 reply

    Inspiring
    December 22, 2008
    To optimize performance of cfswitch, put the cases that are likely to occur most frequently first.
    clarkwiseAuthor
    Participant
    December 22, 2008
    THANKS.... I WOULD IF THAT WERE POSSIBLE. HOWEVER ALL OF THE SWITCH STATEMTS HOLD A EQUAL VALUE.