Query is fast, but long lag before page is rendered

Good morning, all!
I have a page that runs a query that returns 518 records. The
page is taking about 9 seconds to load. I added code after the
CFOUTPUT so that I could check the speed of that section and that
shows me that the CFOUTPUT finishes looping over the query after 3
seconds. The CFOUTPUT block is the last code on the page; just to
be sure, I added a window.defaultstatus = 'done' as the line
immediately before the closing body and html tags. The status bar
shows 'done' and then it takes between 5 and 6 seconds before the
page renders.
I realize that this is probably not a CF issue, maybe a
browser setting? Our standard is IE 6.0, which is what I am using.
Any ideas, war stories, resources, or references would be
greatly appreciated.
Thanks,
Kathryn

Any ideas, war stories, resources, or references would be
greatly
appreciated.
How much content is being delivered to the browser. Once CF
is done,
all information in the page must make it down the pipeline to
the client
and then the client has to render it.
If you are doing a lot of looping and|or calculation as CF
builds the
request, you could be generating a mind boggling amount of
extraneous
white space.
There are many ways with which one can use to mitigate some
of this
white space. <cfsilent>, <cfprocessingDirective>
and <cfsetting> tags.
Settings in the administrator, and just restructuring your
code to
reduce white space to name a few.

Similar Messages

  • Strange problem... Query runs faster, but report runs slow...

    Hi Gurus,
    We are using Report 10g on 10g Application server and solaris. we created a report on a table which has 10,000 rows. The report has 25 columns. when we run this query in Toad it took 12 sec for fetching all these 10,000 rows
    But when we run the report with Destype = 'FILE' and Desformat = 'DELIMITEDDDATA', it is taking 5 to 8 minutes
    to open in excel ( we concatenated mimetype=vnd-msexcel at the end of the url if the Destype=FILE). We removed the layout in the report as it is taking 10 to 15 mins to run to Screen with Desformat=HTML/PDF(formating pages taking more time). We are wondering why DELIMITEDDATA format is taking long time as it runs only query.
    Does RWSERVLET take more time of writing the data to the Physical file in the cache dir? Our cache size is 1 GB. we have 2 report servers clustered. Tracing is off.
    Please advise me if there are any report server settings to boost the performance.
    Thanks alot,
    Ram.

    Duplicate of Strange problem... Query runs faster, but report runs slow... in the Reports forum.
    [Thread closed]

  • Initialize data before page is rendered

    How to initialize data into VO before the page is rendered such that data gets displayed in the page?

    Hi Shay,
    This information is very useful. I have couple of questions.
    1. There are two types of controllers
         a. subclass of PageController
         b. implementing PagePhaseListener
    Are there any guide lines on choosing the conroller?
    2. Currently I am editing Page Definition class and additing the controller ot it manually is there any way to add it using the tool?

  • Long lag before it reads and displays usb, cd, or sd card connections

    I have tried inserting my sd cards, usb flash drives and external hard drives and any cd/dvd including the mac osx install discs and it takes about 30-45 minutes before my Mac recognizes that I have a cd or usb or sd card inserted. What do I do to fix this?

    Welcome to the discussion forums cachorropedorro -
    You can try reading through this kb:
    http://support.apple.com/kb/HT1151
    Hope this solves your problem

  • Firefox is taking way too long to load pages. I have a very fast internet connection but firefox takes forever to load websites. At first it worked fine and very fast but now very slow??

    firefox is taking way too long to load pages. I have a very fast internet connection but firefox takes forever to load websites. At first it worked fine and very fast but now very slow??

    Hi there!
    do you test other browsers?
    i suggest to make a clean install of newer version of Firefox like v8.0.

  • I am trying to delete pages I have crated in numbers, but can only see them in print preview. Without print preview I do not see them. How can I delete these pages, but keep others before and after?

    I am trying to delete pages I have crated in numbers, but can only see them in print preview. Without print preview I do not see them. How can I delete these pages, but keep others before and after?

    Hi Crushed,
    Numbers doesn't have pages. It has a canvas that holds objects such as tables and charts.
    Drag the objects from the bottom of the canvas onto the white space above. That will reduce the number of "pages" (sheets of paper) that will print.
    Regards,
    Ian.

  • HT1430 My IPAD 3 [5.1.1 (9B206)] has a problem. - It restarts every three (3) minutes: it goes out then comes back but lost the previous page (auto lock is set to 15 minutes) - It can no longer connect to the mobile network orange except Wireless (WIFI)

    My IPAD 3 [5.1.1 (9B206)] has a problem.
    - It restarts every three (3) minutes: it goes out then comes back but lost the previous page (auto lock is set to 15 minutes)
    - It can no longer connect to the mobile network orange except Wireless (WIFI)

    Not normal. Take it to an Apple Store for evaluation.
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
     Cheers, Tom

  • I have a mac book air. Have had no issues with any virus before but today my safari page keeps directing me to a page which says " cyber crime" posing to be by Cheshire Police AUthority uk metropolitan police.Tells me that I have 24 hours

    I have a mac book air. Have had no issues with any virus before but today my safari page keeps directing me to a page which says " cyber crime" posing to be by Cheshire Police AUthority uk metropolitan police.Tells me that I have 24 hours to pay a 100 pounds.Using my ipad I looked it up and it appears to be a very common virus.I am worried about my Mac(relieved at the same time that I am not a cyber criminal
    !) so anyway what should I do.I tried to fonce quit and then open safari but only that page keeps opening up.Looking up online their was a suggestion to reset safari, but I am unable to click on the reset safari tab as the pop up for stay on page keeps coming up.i have switched off my lap top now.But am really worried.How can I get rid of it?

    It's not a virus. It's a JavaScript scam that only affects your web browser, and only temporarily.
    Some of those scam pages can be dismissed very easily. Press command-W to close the tab or window. A huge box will pop up. Press the return key and both the box and the page will close. If that doesn't happen, continue.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Security
    and uncheck the box marked Enable JavaScript. Leave the preferences dialog open.
    Close the malicious window or tab.
    Re-enable JavaScript and close the preferences dialog.
    If the Preferences menu item is grayed out, quit Safari. Force quit if necessary. Relaunch it by holding down the shift key and clicking its icon in the Dock. From the menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    to get rid of any cookies or other data left by the server. Open your Downloads folder and delete anything you don't recognize.

  • My screen load times have slowed down to a crawl. I have to wait and wait for a page to load. (I know --dial -up) It used to be much faster a month ago before 5.0. Is it FireFox or do I look to Yahoo for the problem? I don't know how to sort it out.

    I use dial-up, FireFox 5.0, Yahoo addition 1.8. My screen load times have slowed down to a crawl. I have to wait and wait for a page to load. (I know --dial -up) It used to be much faster a month ago before 5.0. Is it FireFox or do I look to Yahoo for the problem? I don't know how to sort it out. Using Vista

    I'm having the same problem. Dreamweaver is supper slow. Uploading and downloads from the server... any server I use two different servers. It times out all the time. Menus are slow too.
    I'm on a MAC Pro, 6 gigs of ram no issues with anything else. I have talked to Apple they have checked everything for me. They say it's Dreamweaver. I've noticed the Dreamweaver is talking to the FTP even when I'm not doing anything.
    I've tried cleaning out my MAC caches, turning off file check and check out. Still really slow. I've worked with Dreamweaver for 6 years never any issues like this before. 18 seconds to upload a 4 kb file. 11 seconds to download the same file.

  • My Internet Connection is Fast, but Web Pages load slowl

    I have tested my connection on several websites. I am using RoadRunner and I consistently get speeds between 3500-4500 kbps. In the past few days I have the same internet speed but all my web pages load really slow. Up until this problem I would click on a link and it would take 2-3 seconds to load the next page. Now it is more like 15-20 seconds. Once I get a page loaded if I download something from that site it is still a fast download.
    Any ideas on what could have slowed loading web pages , but download speed still shows really fast?
    Your help is appreciated
    Cheers
    mrjazz

    If your download speeds are still fast, it is most likely the broswer that is slow in rendering the pages.
    Are you using Safari and if so, do you leave it open all the time? Safari is notorious for hogging RAM and CPU cycles and slowing to a crawl if you do not quit and restart it.

  • 3.5 Query Designer has 'row' in the footer of results but 7.0 has 'page'

    3.5 Query Designer has 'row' in the footer of results but 7.0 has 'page' is there a way to change 7.0 to have 'row' instead of 'page'? We would prefer to see how many rows of data we have. I didn't know if this was a parameter they may be able to be changed.
    Thanks,
    Diane

    I donot think there is way to display Row instead of Page.
    Also in 7.0. It is based on cells.

  • I have used lightroom trial before, and i found it good. So i joined the lightroom and photoshop program yesterday. And I have downloaded the photoshop.  On the page of apps, I found out I have photoshop and lightroom, but on the front page, I have only d

    I have used lightroom trial before, and I found it good.  So i joined the lightroom and photoshop yesterday.  I have download the photoshop in the adobe creative cloud, but at the front page of adobe creative cloud, it shows that I have not download the lightroom.  I saw the lightroom is already downloaded in the apps of adobe creative cloud.  However, when I key in the icon of lightroom, I found out I have only 0 day and i need to buy.  So what can I do to get the lightroom?

    Chat Now button near the bottom for Activation and Deactivation problems may help
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html
    OR
    http://helpx.adobe.com/creative-cloud/kb/license-this-software.html
    Membership and Payments http://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting- creative-cloud.html

  • My mastro page is not the final page. I can't modified it. The mastro is long 800px but in the design page is long 1000, why?

    my mastro page is not the final page. I can't modified it. The mastro is long 800px but in the design page is long 1000, why?

    Than you Aish for answer to me
    is the first time I use Adobe Muse, my problem is the following:
    I want me to do a landing page with a preload.
    I have done one page very long (5400px)  and i worked just in one mastro because i didn't need other pages.
    I have made a group with my menu and the slide. I put the menu at the bottom of the slide because i want the slide appear first of the menu: like a presentation... once the presentation ended scrolling down and my menu will appear and so the site. I want me to do the effect of the menu fixed and everything beneath scrolling up and down.
    When i have done it, i realized it couldn't work, because the slide together with the menu remain fixed, but the slide covered everything beneath.!!!! I realized again tha maybe it's better having a page for preload and then let the website to start, so i change my pages in adobe muse.
    I added another page in my plan window in adobe muse,  i made another mastro page i change the properties in the page make it shorter  and i drag the new mastro in the new page, then i copied in the empty page my slide.From there in ahead it doesn't work anything in my mastro page.
    Then i deleted everything but not the landing page of the beginning, because i found a preload widget in internet, but now when i activate my mastro in the page in the Plan mode, and with the double click i go inside, i can't modified anything also if i click the option "unlock all in page", and when i go in the site preview everything is uncorrect and it'isn't like my mastro page.
    Sorry for my very long mail and i hope you will understand.
    Thank you again
    regards
    Paola

  • I am using CC adobe Acrobat to combine multiple pdfs and add page numbers. Mac users can no longer read the page numbers but pc users can.

    I am using CC adobe Acrobat to combine multiple pdfs and add page numbers. As of about 2 weeks ago the mac users can no longer read the page numbers they get a font error message and see only -- where the page information should be. The pc users do not have this same problem. When I replace our regular font (URW Grotesk) with a system font (Verdana) everyone is able to read the page numbers. This is a new issues, I have been creating these documents in the same way for years without a problem. I have been on hold and on and off calls for the last two hours, I keep getting hung up on once I find someone in adobe support to talk to!

    Hi KnoopL,
    Are the Mac users using Preview to view the pdfs or Adobe Reader?
    Regards,
    Rave

  • Connect by level query is taking too long time to run

    Hello,
    I have a query that returns quarters (YYYYQ) of a begin- and enddate within a specific id, that is built with a connect by level clause, but the query is running to long. I have used explain plan to see what the query is doing, but no silly things to see, just a full table scan, with low costs.
    This is the query:
    select to_char(add_months( cpj.crpj_start_date,3*(level - 1)),'YYYYQ') as sales_quarter
    , cpj.crpj_id as crpj_id
    from mv_gen_cra_projects cpj
    where cpj.crpj_start_date >= to_date('01/01/2009','mm/dd/yyyy')
    and cpj.crpj_start_date <= cpj.crpj_end_date
    and cpj.crpj_routing_type = 'A'
    and ( cpj.crpj_multi_artist_ind = 'N'
    or cpj.crpj_multi_artist_ind is null)
    connect by level <= 1 + ceil(months_between(cpj.crpj_end_date,cpj.crpj_start_date)/3);
    The result have to be like this:
    SALES_QUARTER CRPJ_ID
    20091 100
    20092 100
    20093 100
    20094 100
    20101 100
    20102 100
    Can anyone help me out with this?

    but no silly things to see, just a full table scan, with low costs.Well, maybe an index scan would be faster?
    However:
    You will need to provide us some more details, like:
    - database version (the result of: SQL> select * from v$version;)
    - post the explain plan output (put the tag before and after it, so indentation and formatting are maintained, see the [FAQ|http://forums.oracle.com/forums/help.jspa] for more explanation regarding tags )
    - what are your optimizer settings (the result of: SQL> show parameter optimizer)
    - if applicable: are your table statistics up to date?
    - mv_gen_cra_projects  is a materialized view perhaps?
    Edited by: hoek on Jan 26, 2010 10:50 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for