does ob_end_flush() end all ob?

From: lawrence (lkrubner_at_geocities.com)
Date: 09/30/04


Date: 29 Sep 2004 15:39:08 -0700

I didn't want blank space getting sent out before session headers or
cookies to the web, so I started using ob_start(). When it comes to
rendering the page, I wanted to turn it off, so I started to do what
you see below. Despite this, pages are taking forever to show up, and
then they are showing up suddenly, which is quite different than they
way they used to show up. It used to be you could see them render, and
you could see them pause at places on the page that needed database
calls. Now the page seems much, much slower, because it is white for
much longer. I don't think the final, overall time has changed, but it
seems much slower because you don't get to see anything at all till
everything is there. Here is the function:

function renderPage() {
        ob_end_flush();
        flush();

        $controllerForAll = & getController();
        $templateObject = & $controllerForAll->getObject("McTemplates", " in
renderPage().");
        $templateObject->getTemplate();
        $templateObject->renderTemplate();
        
        flush();
}

an example of slowness is www.krubner.com



Relevant Pages

  • MythTV QT rendering quite slow
    ... much slower than before. ... Windowmaker XFCE ... I'm using the X window driver ivtvdev for rendering the output to my ... Before everything was really smooth, but now, creating the screen ...
    (Ubuntu)
  • Re: Acrobat 7
    ... On Thu, 7 Jul 2005, Oscar del Rio wrote: ... > than Acrobat 5 but it is slower at rendering pages and doing simple text ...
    (comp.unix.solaris)
  • Re: IE 6 Stalls Under Windows Me - HELP
    ... >> then hangs, always at the same point. ... >This could be a problem with Cookies. ... >then turn on prompting for Cookies, then revisit the site, allowing the prompts ... Three cookies come up before I see any rendering at all. ...
    (microsoft.public.windows.inetexplorer.ie6.setup)
  • Re: IE 6 Stalls Under Windows Me - HELP
    ... >> then hangs, always at the same point. ... >This could be a problem with Cookies. ... >then turn on prompting for Cookies, then revisit the site, allowing the prompts ... Three cookies come up before I see any rendering at all. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Linux Kernel cfs scheduler and xorg kbd
    ... run xcompmgr -a or something. ... It's so wonderfully smooth (even though ... some rendering seems slower than before, it's really worth it for me). ...
    (Linux-Kernel)