<div dir="ltr"><div>Would avoid {php} code within *.tpl for the very small gain.</div><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 href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="https://discussions.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a 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 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/<u></u>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 href="http://libertus.co.uk" target="_blank">http://libertus.co.uk</a><br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</font></span></blockquote></div><br></div>