php - Confused by the "Time to first byte" TTFB -


the famous ttfb confusing me.

what describes it, first byte of http response or first byte of underlying protocols tcp?

you can read gzipping content lower ttfb, why? zipping means more cpu load on server side should result in worse ttfb or wrong here?

the time of "flushing" content seems important, have trouble finding more information on it. how can influence flushing, e.g. on php based webpage? simple setting/configuration of server or location in code perform "echos" ?

thank you

ttfb delay between end of request , receiving response, we're talking web here when browser received first byte.

gzipping content increase ttfb provided server isn't overwhelmed should negligible delay.

what gzipping reduce overall time download content.

normally server won't send page browser until whole page has been generated, flushing return content browser can process , start downloading , files referenced sooner.

a explanation of flushing starts @ slide 51 of talk - http://www.slideshare.net/profyclub_ru/progressive-downloads-and-rendering-stoyan-stefanov


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -