Это "свобода слова" называется :)
This "freedom of speech" is called :)
В терминале выполнить (домен мой замените на свой и с путём до тестрируемого файла):
curl -4 -s -w '\nLookup time:\t%{time_namelookup}\nConnect time:\t%{time_connect}\nAppCon time:\t%{time_appconnect}\nRedirect time:\t%{time_redirect}\nPreXfer time:\t%{time_pretransfer}\nStartXfer time:\t%{time_starttransfer}\n\nTotal time:\t%{time_total}\n' -o /dev/null https://www.babai.ru Lookup time: 0.028492 Connect time: 0.044523 AppCon time: 0.083155 Redirect time: 0.000000 PreXfer time: 0.083630 StartXfer time: 0.115654 Total time: 0.131440
In the terminal, run (replace my domain on your way to and from testriruemogo file):
curl -4 -s -w '\ nLookup time: \ t% {time_namelookup} \ nConnect time: \ t% {time_connect} \ nAppCon time: \ t% {time_appconnect} \ nRedirect time: \ t% {time_redirect} \ nPreXfer time: \ t% {time_pretransfer} \ nStartXfer time: \ t% {time_starttransfer} \ n \ nTotal time: \ t% {time_total} \ n '-o / dev / null https://www.babai.ru Lookup time: 0.028492 Connect time: 0.044523 AppCon time: 0.083155 Redirect time: 0.000000 PreXfer time: 0.083630 StartXfer time: 0.115654 Total time: 0.131440
Хм, когда год назад тестил у себя разницы не заметил между прямо из конфига nginx или с помощью preload.
Но вот что заметил - если с помощью preload то со второго раза отправленные server push js и css попадают в кеш браузера пользователя. А вот если из конфига nginx сразу отправлял то в кеш браузера пользователя не попадали js и css.
Умные к специалистам по Битриксу приходят, а остальные специалистов по ВП берут на кворке сразу за копейку пучок и только когда понимают что в очередной раз бяка получилась идут к специалистам по ВП.
Smart to Bitrix specialists come and the remaining experts in the EP to take kvorke right behind a bunch of penny and only when they realize that once again turned byaka go to experts in the EP.
Блестящий юмор, спасибо :)
Скоро заповедник троллей (которые даже цитировать не умеют) в этой теме будет :)
Brilliant sense of humor, thank you :)
Soon reserve trolls (who even do not know how to quote) in the subject will be :)
Я не Вас спрашивал г-н тролль :)