Optimizing web performance and critical rendering path

1h 16m 17s
English
Paid

Course description

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.

Read more about the course

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.

Requirements:
  • At least the basic knowledge of web development
  • At least the basic knowledge of CSS
Who this course is for:
  • Intermediate front end developer
  • CSS developer

What you'll learn:

  • 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

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 32 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing

Watch Online Optimizing web performance and critical rendering path

0:00
/
#1: Introduction

All Course Lessons (32)

#Lesson TitleDurationAccess
1
Introduction Demo
04:15
2
Prerequisites
01:28
3
Introduction
02:55
4
Style Calculations
03:19
5
Style Calculation Demo
06:05
6
Layout
02:26
7
Paint
02:32
8
Update Layer Tree
01:46
9
Composite Layers
02:49
10
Summary
00:56
11
Introduction
01:21
12
FPS
02:14
13
The Performance of style calculation
04:30
14
Running Performance Issue
02:42
15
Paint Profiler
01:17
16
Performance Analysis
03:16
17
How layers work
02:08
18
Creating a new layer
02:02
19
Multiple Layers
01:58
20
Older browsers
01:55
21
Properties impact
04:31
22
JS vs CSS
01:52
23
Summary
00:32
24
Introduction
02:32
25
Parser Blocking JavaScript
02:02
26
Render Blocking CSS
02:18
27
Imports
01:39
28
Non Render Blocking CSS
02:09
29
Unused Styles
02:15
30
Base64
01:55
31
Minification and Gzip Compression
02:06
32
Summary
00:32

Unlock unlimited learning

Get instant access to all 31 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

The Software Designer Mindset (COMPLETE)

The Software Designer Mindset (COMPLETE)

Sources: ArjanCodes
"The Software Designer Mindset" is a course that teaches all aspects of software architecture and offers practical advice on creating scalable software...
14 hours 32 minutes 58 seconds
AI Engineering Bootcamp: RAG (Retrieval Augmented Generation) for LLMs

AI Engineering Bootcamp: RAG (Retrieval Augmented Generation) for LLMs

Sources: zerotomastery.io
This course will teach you how to create smarter AI applications using one of the most important techniques in modern artificial intelligence - Retrieval...
22 hours 1 minute 6 seconds
Lemon Squeezy Course

Lemon Squeezy Course

Sources: Prodigies University
Learn how to accept payments from over 130 countries where there are restrictions for Stripe. This course will show you alternative solutions and strategies...
1 hour 21 minutes 37 seconds