-
Notifications
You must be signed in to change notification settings - Fork 9
Add task-5 report #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
holyketzer
wants to merge
2
commits into
spajic:master
Choose a base branch
from
holyketzer:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Эксперименты с inline и push | ||
|
|
||
| Медиана полной загрузки (Load Time) страницы для версии: | ||
|
|
||
| без пуша и без инлайна: 21.239s https://www.webpagetest.org/result/190413_X6_b19cc6cd03c2675c0aecae9be10d4e95/ | ||
|
|
||
| с инлайном: 21.133s https://www.webpagetest.org/result/190413_15_b14cbb50d1da6064cf0803f7b23c7314/ | ||
|
|
||
| с пушем: 21.445s https://www.webpagetest.org/result/190413_AA_a84241946b7a41bdb1575a67ea61e3ac/ | ||
|
|
||
| Видно что при инлайниге к картинкам вообще не делается запрос, а при сервер пуш они начинают загружаться сразу после загрузки главной страницы. | ||
|
|
||
| # Аудит dev.to | ||
|
|
||
| Сайт очень быстро загружается при канале 5 Мбит/с, рендеринг начинается на 0.7 секунды и завершается на 2.4 секунды. | ||
|
|
||
| ## Сайт хорошо оптимизирован: | ||
| * Используется HTTP/2 | ||
| * Включено gzip сжатие + картинки хорошо сжаты | ||
| * JS код приложения разбит на пакеты, критический код вынесен в пакет который загружается первым и весит всего 1.5 КБ | ||
| * Для ассетов используется CDN | ||
| * Скрипты аналитики и статистики подгружаются асинхронно после того как рендеринг документа уже завершён | ||
|
|
||
| ## Из проблем отмечено: | ||
| * Частичное отсутствие HTTP заголовков кеширования для статического контента | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Все результаты не совсем корректны, потому что работа идёт по протоколу
HTTP/1.1.Поэтому
server-pushна самом деле не может работать.Добавлю разъяснения в описание задания.