Mô tả

Performance is a very important aspect of every web application.

Web page should be loaded as quickly as possible and the animation should flow smoothly.

People are very sensitive to any kind of motion. For any kind of visual change on the screen, like scrolling, hover effect, opening the sidebar etc., the browser is going to render a new frame onto the screen. When rendering of the frame takes longer, the frame rate drops, and it negatively impacts the user experience.

Low frame rate will create a poor user experience. For this to happen, there doesn’t need to be some complex animation, it can happen with just a regular page scrolling!

I am pretty sure that you already had experience with websites that have a low frame rate, which causes that “laggy” animation? You click on something, open the sidebar and the whole page is lagging. Or even worse, you might have noticed that you have a laggy experience when scrolling the web page. Scrolling doesn't seem like something you had to think about from the performance perspective, but you should. Therefore, in this course we will be talking about fixing the performance issues and so, you might expect that this course is about JavaScript…but surprisingly – it’s not. This course is about CSS. A lot of developers think that as long as JavaScript runs well, there's nothing else left to do for the performance optimization. JavaScript has a great impact on the performance of the website, however CSS is unjustly neglectred in this area. In many situations CSS might be the only problem.


There’s another very important impact that CSS has on the webpage.

CSS is render blocking (by default). The browser will not begin to render the page until all CSS has been downloaded. Any delays on the Critical Rendering Path will leave users looking at a blank screen. CSS is truly critical if you want to have a fast loading page. Sometimes, just to parse CSS file it takes more than 500ms. Just to parse, without network – just a single CSS loaded from a hard drive will cause users to see only a blank screen until the parsing process is finished.

Optimizing the performance your website may also have an impact on the google search result ranking algorithm.


In this course we will show you CSS in a new light.

Bạn sẽ học được gì

How the browser renders the frame

The effect of CSS properties on the rendering of the frame

How and why should you promote an element into a layer

Choosing the right CSS properties for animation

Understanding and fixing the paint issue

Improve the critical rendering path

Yêu cầu

  • At least the basic knowledge of web development
  • At least the basic knowledge of CSS

Nội dung khoá học

4 sections

Introduction

2 lectures
Introduction
04:14
Prerequisites
01:27

Browser Rendering Pipeline

8 lectures
Introduction
02:54
Style Calculations
03:18
Style Calculation Demo
06:04
Layout
02:25
Paint
02:31
Update Layer Tree
01:45
Composite Layers
02:48
Summary
00:55

Optimizing Critical Rendering Path

13 lectures
Introduction
01:20
FPS
02:13
The Performance of style calculation
04:29
Running Performance Issue
02:41
Paint Profiler
01:16
Performance Analysis
03:15
How layers work
02:07
Creating a new layer
02:01
Multiple Layers
01:57
Older browsers
01:54
Properties impact
04:30
JS vs CSS
01:51
Summary
00:31

Optimizing Critical Resources and Critical Bytes

9 lectures
Introduction
02:31
Parser Blocking JavaScript
02:01
Render Blocking CSS
02:17
Imports
01:38
Non Render Blocking CSS
02:08
Unused Styles
02:14
Base64
01:54
Minification and Gzip Compression
02:05
Summary
00:31

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.