php - What can delay "Time to First byte" by almost 2s? -


i have enabled php profiler, magento, still profiler. standard magento compiler records processing including db queries create page, receiving request.

mage-profiler

i testing php built-in server hosted locally.

the results show pretty decent server response times, on chrome developer tools time first byte higher. why this?

take note...the screenshots below of timings same request...clearly

profiler (www.mysite.com/index.php):

magento-profiler-server-response

developer tools (www.mysite.com/index.php):

ttfb-chrome-developer-tools

edit

i had written bit bigger answer realized using built-in php server. honestly, should give real webserver go. might chasing problem not exist (although 1 can argue there going on because it's not normal situation - might encountering php bug) ;)


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -