Image Performance Optimization in Angular 14 - What You Should Know

preview_player
Показать описание
The #Angular team released an image-directive in version 14 that helps us improve the performance of our application's images with a few adjustments.

In this video, you will see how to use this directive and how to measure your application to see the difference in the #LCP.

Chapters:
0:00 Intro
0:22 Optimize Images using the NgOptimizeImage
7:33 Thank you

******************************************************
Let's Connect
******************************************************

#angular #learnAngular #angularTutorial #webdeveloper #webdevelopment
Рекомендации по теме
Комментарии
Автор

This feature is great! No more optimizing images separately.
Angular improves with each release.

sergiocebrian
Автор

That was so sick! Thanks for sharing Fanis!

sergiokagiema
Автор

very powerful feature in angular...
Thanks for your explanation

boriscissoko
Автор

Thank you sir for another great explanation. Eagerly waiting for your next video.

ranjanadeore
Автор

Thanks a lot for your simple explanation and effort

IbrahimElmourchidi
Автор

Thank you! Having this exact problem right now.

niconel
Автор

You are great. 😉
I have suggestion for the next video which is global error handling with logging at the backend ( http errors or client side error)

ahmad
Автор

I think in order to use the ngSrc is also mandatory to define a width and height, I can't just use as <img [ngSrc]="image" />, and the height and width should be number values, it doesn't work with values such as 'auto' or using 'rem' units...

madeOfClay
Автор

Well sure, not bad. But for images, you should also resize them and compress them. You can go from a 2Mo image to 200Ko.

_Greenflag_
Автор

Is there any way I can perform this in Angular 11

virajjoshi
Автор

Great addition.
But replacing the image is still not compatible...

SonuSindhu