>- see footer for list info -<
It turned out to the #application.baseURL# it points to a URL I do not have
access to from my current location, thus the page took ages to load trying
to reach it. So it was a client side problem.

Russ

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charlie Arehart
Sent: 09 February 2007 18:46
To: 'Coldfusion Development'
Subject: RE: [CF-Dev] slow page

>- see footer for list info -<
Well, are you saying that when you remove the call to the custom tag, the
problem goes away?

The first thing I'd do is modify the custom tag in some way to confirm that
the tag you're editing is indeed the tag being called. CF could be picking
up a different one than that's doing more but rendering similar output.

Even if it is the "right" one, you want to make sure that CF's not somehow
caching the template so that your changes aren't really being picked up.

Second, if that really is that page, since it's nearly all static text,
there's nothing obvious. What I'd try if in the same position would be to
pull out parts of that custom tag to see which WITHIN IT are the cause:

- remove the CFDUMPs (who knows: you may have something in the session or
app scopes that CF's having to dig through to dump)
- remove all but a single line of code, just to see if there's some quirk
where it doesn't matter what's in the page

/Charlie
http://www.carehart.org/blog/  

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Snake
Sent: Friday, February 09, 2007 8:48 AM
To: [email protected]
Subject: [CF-Dev] slow page

>- 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 
>-<

_______________________________________________

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 -<


_______________________________________________

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