[Vtigercrm-developers] flush after sending <head>

Prasad prasad at vtiger.com
Thu Jul 17 18:28:04 GMT 2014


Would avoid {php} code within *.tpl for the very small gain.

Please keep us posted with your further investigation.

*Connect with us on: *Twitter <http://twitter.com/vtigercrm> *I* Facebook
<http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> *I* Blog
<https://blogs.vtiger.com/>* I* Wiki
<http://wiki.vtiger.com/index.php/Main_Page> *I *Forums
<https://discussions.vtiger.com>*I* Website <https://www.vtiger.com/>


On Thu, Jul 17, 2014 at 10:31 PM, Alan Bell <alan.bell at libertus.co.uk>
wrote:

> I think a few more milliseconds of responsiveness can be achieved by
> editing
> layout/vlayout/modules/Vtiger/Header.tpl
>
> and after </head> insert:
>
> {php}
> flush();
> {/php}
>
> 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.
>
> Alan.
>
> --
> Libertus Solutions
> http://libertus.co.uk
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140717/782f5455/attachment.html>


More information about the vtigercrm-developers mailing list