[Vtigercrm-developers] Fwd: Fwd: Re: flush after sending <head>

Vic Cekvenich vic.cvc at gmx.com
Mon Aug 18 00:40:32 GMT 2014



-------- Original Message --------
Subject: [Vtigercrm-developers] Fwd: Re:  flush after sending <head>
Date: Sun, 17 Aug 2014 15:01:14 -0700
From: Vic Cekvenich <vic.cvc at gmx.com>
Reply-To: vtigercrm-developers at lists.vtigercrm.com
To: vtigercrm-developers at lists.vtigercrm.com



-------- Original Message --------
Subject: 	Re: [Vtigercrm-developers] flush after sending <head>
Date: 	Thu, 17 Jul 2014 23:58:04 +0530
From: 	Prasad <prasad at vtiger.com>
Reply-To: 	vtigercrm-developers at lists.vtigercrm.com
To: 	vtigercrm-developers at lists.vtigercrm.com 
<vtigercrm-developers at lists.vtigercrm.com>



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 
<mailto: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 --------------
_______________________________________________
http://www.vtiger.com/
-------------- next part --------------
_______________________________________________
http://www.vtiger.com/


More information about the vtigercrm-developers mailing list