>- see footer for list info -<
I have this app I just started, and the below page is for some reason
causing  it to take several minutes to load.

I have determined this is the page causing it by commenting out everything
else, and this is the only part of the code that causes the slowdown.

It is called as a custom tag. Can anyone see any reason why this should take
several minutes to load, cozz I can't

 

Russ

 

<cfprocessingdirective suppressWhiteSpace = "yes">

<cfsetting enablecfoutputonly="Yes">

<!---

        $Header$

                        

        Template:                          page.cfm

        Author:                 Russ Michaels

        Date:                   2007-02-08

        Description:                                   Wrap all pages for
OAB application

        Parameters:                                              

 

        $Log$

                        

--->

 

<cfif not thistag.hasEndTag>

            <cfthrow type="custom tag" message="supply an end tag">

</cfif>

 

<cfif thistag.executionmode eq "start">

            

            <!--- OPEN THE PAGE --->

 

 

            <cfoutput>

            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

            <html xmlns="http://www.w3.org/1999/xhtml"; lang="en"
xml:lang="en">

            <head>

                        <title>Online Ad Booking ADMIN</title>

            <base href="#application.baseURL#">

            <link rel="STYLESHEET" type="text/css"
href="#application.baseURL#css/oab_style.css"  />

   

            <!--[if IE 5]>

            <link rel="stylesheet" type="text/css"
href="#application.baseURL#css/oab_style_ie.css" />

            <![endif]--> 

            <!--[if IE 6]>

            <link rel="stylesheet" type="text/css"
href="#application.baseURL#css/oab_style_ie.css" />

            <![endif]--> 

            <!--[if !lt IE 7]>

            <link rel="stylesheet" type="text/css"
href="#application.baseURL#css/oab_style_ie.css" /> 

            <![endif]--> 

            </head>

            <body>

                        <!--- disable cfoutputonly so that tag content is
output --->

            <cfsetting enablecfoutputonly="No">

            

            </cfoutput>

 

<cfelse>

            <cfsetting enablecfoutputonly="Yes">

            <!--- CLOSE THE PAGE --->

            <cfoutput> 

            </body>

</html>

            </cfoutput>

            <!---<cfif application.debugMode.coldfusion>

            <fieldset>

                        <legend>Debugging</legend>

            <cfdump var="#application#" label="application scope">

            <cfdump var="#session#" label="session scope">

            </fieldset>

            </cfif> --->

</cfif>

 

<cfsetting enablecfoutputonly="No">

</cfprocessingdirective>

 

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to