<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 17/07/14 19:28, Prasad wrote:<br>
    </div>
    <blockquote
cite="mid:CAMeS7p=tzBrcYWMoQj6bJriYTeicj1VRCT3uN29XZ0LS0iezOw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Would avoid {php} code within *.tpl for the very small
          gain.</div>
      </div>
    </blockquote>
    yes, agreed, I was hoping that it would be able to push out the head
    prior to loading from the database all the objects needed to render
    the full page, I might try some slightly more major surgery or an
    ugly hack to see what the benefit would be of flushing the head
    before doing any object loading.<br>
    <br>
    Alan.<br>
    <br>
    <blockquote
cite="mid:CAMeS7p=tzBrcYWMoQj6bJriYTeicj1VRCT3uN29XZ0LS0iezOw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>Please keep us posted with your further investigation.</div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div><span
style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect
              with us on: </b><a moz-do-not-send="true"
              href="http://twitter.com/vtigercrm"
              style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a
              moz-do-not-send="true"
              href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall"
              style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a
              moz-do-not-send="true" href="https://blogs.vtiger.com/"
              style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a
              moz-do-not-send="true"
              href="http://wiki.vtiger.com/index.php/Main_Page"
              style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a
              moz-do-not-send="true"
              href="https://discussions.vtiger.com"
              style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a
              moz-do-not-send="true" href="https://www.vtiger.com/"
              style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>
        <br>
        <br>
        <div class="gmail_quote">On Thu, Jul 17, 2014 at 10:31 PM, Alan
          Bell <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:alan.bell@libertus.co.uk" target="_blank">alan.bell@libertus.co.uk</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            I think a few more milliseconds of responsiveness can be
            achieved by editing<br>
            layout/vlayout/modules/Vtiger/Header.tpl<br>
            <br>
            and after </head> insert:<br>
            <br>
            {php}<br>
            flush();<br>
            {/php}<br>
            <br>
            the intention of this is to  fling the head part to the
            browser, so it can start loading the various js and css
            files from cache or if they have to be requested before the
            rest of the page arrives. It seems to improve things a
            touch, but not as much as I had hoped, there is still quite
            a big delay before sending anything to the browser, this
            just saves .02 seconds for my testing.<span class="HOEnZb"><font
                color="#888888"><br>
                <br>
                Alan.<br>
                <br>
                -- <br>
                Libertus Solutions<br>
                <a moz-do-not-send="true" href="http://libertus.co.uk"
                  target="_blank">http://libertus.co.uk</a><br>
                <br>
                _______________________________________________<br>
                <a moz-do-not-send="true" href="http://www.vtiger.com/"
                  target="_blank">http://www.vtiger.com/</a><br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Libertus Solutions
<a class="moz-txt-link-freetext" href="http://libertus.co.uk">http://libertus.co.uk</a></pre>
  </body>
</html>