The ultimate guide to web performance
Learn how to analyze and optimize the performance of any website. In this tutorial, we explore tips and tricks to build faster UIs that are ideal for search engine optimization.
#webdevelopment #javascript #css
🔥 Become a PRO member fireship.io/pro
💵 Use code BEYOND25 to save 25%
Unlighthouse github.com/harlan-zw/unlighth...
Web Vitals Plugin web.dev/debug-cwvs-with-web-v...
Пікірлер: 324
I'm a simple man, I see a fireship video, I click.
@PawitSahare
Жыл бұрын
Ok bro
@iercan1234
Жыл бұрын
you're the guy from hypixel housing right
@randxalthor
Жыл бұрын
Simpleton
@sabrinakingsley798
Жыл бұрын
I see this comment on every video
@medaliboulaamail6491
Жыл бұрын
I'm an even simpler man I see my brother then I smash with him
likes.
@NoorquackerInd
Жыл бұрын
_inside_ of you???
@brooksgunn5235
Жыл бұрын
Hol up
@owenwexler7214
Жыл бұрын
somebody just ran a detailed Lighthouse analysis on PH lmao
@ranaakhil
Жыл бұрын
Waitt a minnuuttee
@kamehameha38
Жыл бұрын
something ain't right
The amount of knowledge he gave about web performance is just insane judging by the amount of time he told it in. This information would have been a lot harder to process if it would be told by someone other that fireship
@ThomPorter74
Жыл бұрын
Agreed! I knew about LCP, but had never heard of CLS or FID. A few minutes with a Fireship video and suddenly I'm an expert. He's by far my favorite dev-related content creator.
@colinpickup5770
9 ай бұрын
Jeff is da man
This video is a gold mine for web developers! Fireship's knowledge on web performance is impressive, and he managed to explain everything in just 6 minutes and 43 seconds. I particularly appreciate his tips on LCP, FID, and CLS, and I can't wait to apply them to my projects. Thank you for another amazing video, Beyond Fireship!
Unlighthouse has been a great help to my workflow. Awesome tool!
@omnilothar
Жыл бұрын
it is not an extension? so I need to have nodejs in local, clone the repo, and npm install then run the npx within the same dir?
There was a time I used to think about what exactly companies required retaining web developers for after the initial website build and deployment, and its later I discovered the functionalities of dynamic websites, time series apps, things like this video - performance which requires continuous integrations possibly, website updates, ui updates, etc. With these little and many more, I discovered yeah, its actually work - work, work, work, work... On my journey to becoming a web developer btw.
@shivankbatra5643
Жыл бұрын
same man same, its an ocean when you peek into it
@moritz759
8 ай бұрын
I got the chance to have a look at web developers work in two awesome companies and what I discovered is that there’s basically always work left to do. Whether it’s bug fixing, adding new features or improving the site. You really need a team of skilled developers just to maintain a large site.
I had heard about those before but could never remember which was which. Now everything is crystal clear. Good job.
As for general website optimization, image lazy-loading is quite low-hanging fruit. It can shave few seconds on LCP for unoptimized sites due to resource competition in critical rendering path. And you can turn the optimization with single attribute nowadays.
Fireship really knows how to take his concept and jam it right where I need it the most. Thanks, Jeff!
@emilz0r
Жыл бұрын
😬📸
@Nagrajvasu
Жыл бұрын
😳📸
@gappsanon4869
8 ай бұрын
Ouch!
@speedandpower8577
8 ай бұрын
ayo
Thank you for that video, just a few hours ago searched for layout shift issues because my build has horrible layoutshifts for no reason. Your video came in the right moment.
I'm so glad I found this channel, learning so much new stuff on every single video
the level quality Jeff puts out is incredible. It feels like he has an entire team behind him, but from what I know, its just him
Wow!!!!!!!!!!! Men, how you break things down so clearly and in such a practical manner is beyond me. Thanks a lot for this video
Fireship puts so much effort in his videos that I can feel it coming inside of me
@AmxCsifier
Жыл бұрын
Wtf with these inside of me jokes? Is this some kind of an inside joke? Wait.... 🤦♂
@eviltom8783
Жыл бұрын
@@AmxCsifierI believe they just copied the tip comment for likes.
@ArthurKhazbs
Жыл бұрын
@@AmxCsifier They're probably making naughty comments just because the P. Hub was mentioned in this video
Scary timing as i have just been tasked with trying to find these kind of performance bottlenecks, awesome video like always!
That is definitely the perfect aspect ratio for all images. Definitely superior to the golden mean.
These videos are great I can feel all the hard work inserted inside
Dude, this Beyond Fireship stuff is pure gold.
Great video Jeff! Love the info!
I used to work for this WP plugin Nitropack, which did wonders with these metrics. Loading critical resources first and separating above-the-fold content for priority load. A-level
Thanks alot for helping the world become more efficient and familiar with high quality web development
Thank you for this great tutorial. Id love to hear more towards accessibility
Amazing content. Exponential value per minute. Thanks.
oh god, I learn so much from your (
Amazing. You are doing an awesome job for the tech community. I dont have words to express the gratitude.
It’s amazing what you fit in such a short video when I spent weeks learning to optimize all sorts of websites for speed. I still spend hours on this for clients, but lighthouse is not the best way to check page performance, I find gtmetrix a better tool. Lighthouse gets negativity effected by chrome extensions and thus have to perform it incognito or turn extensions off.
Awesome stuff, now I'm going to use this to optimize my portfolio
@addidix
Жыл бұрын
need my simple black and white single page portfolio to be blazingly fast
@hyper_channel
Жыл бұрын
@@addidix yes
Great video ❤, more on performance pls 🎉
That UnLighthouse is really helpful! Thanks a lot :)
That's the perfect beginning!
Awesome video! Keep up the great work!
Appreciate the detailed video. Would love to see you optimize an actual page live.
Glad to see Astro crushing it in the Unlighthouse reports. Am using it for my next client project 😁
Thank you so much for unlighthouse!!!
I hope you never stop making videos or else my job will be at risk!
am so glad you're off theAI hype train and dripping awesome practical content again
@YuriG03042
Жыл бұрын
he has never been on the hype train? he just reports AI news when it's relevant, but he says that AI won't take our jobs
@vaisakhkm783
Жыл бұрын
@@YuriG03042 atleast he is out of that...
Awesome content! 🔥🔥
Facebook and Google tracking scripts hit a lot the performance
@kr30000
Жыл бұрын
Did you look into partytown?
@jondoe6608
Жыл бұрын
Or even better don’t be evil and don’t have google and facebook tracking
@ricardocnn
Жыл бұрын
@@kr30000 No
@ra2enjoyer708
Жыл бұрын
@@kr30000 Partytown has a loads of issues with loading 3rd-party scripts.
@kr30000
Жыл бұрын
@@ra2enjoyer708 I mean yea, 3-rd party scripts might always have issues depending on many factors.
Great Video. Learnt a lot. thanks
Your sense of humour is really beyond fireship
i like how the beyond fireship became like the main channel before ai revolution!
True gem. Thanks.
Awesome Info 😍, Thanks
Definitely a big LIKE from me
This guy does it yet again
wow even tho i'm no longer a web dev, these tools are fucking amazing, unlighthouse is stupidly useful too, i can't even believe is free, i wish we had something like this for react native or native ios/android
Great video!
Amazing how the college board website is bad in every one of these metrics
@sullivanb2306
Жыл бұрын
collegeboard’s website makes me want to die every time I have to use it
I think more importantly is that developers need to focus on the instant gratification that the user gets when the page loads.
10% web development guide 90% horny goat weed
wtf, this is like EXACTLY the video I needed right now! Now I finally know who my NSA agent is, thanks for the clarification 👍👌 (also thank you for the very helpful video)
Whenever I see a new fireship video I come fast.
I like this video even before I start watching it
There is a "Browser Rendering Optimization" playlist with detailed explanation from Google employees about how it all works behind the scenes in chromium. But... it was released 7 years ago, maybe some things changed.
Hell no, you don't need to capture my attention. I see a fireship video, i sit down, click, and focus with the video😉
Can we just appreciate the amount of meme fireship puts inside of me
Great 🎉 Can you also make a video on how can we optimise 3rd libraries to improve the performance of the website?
I feed all this information to my AI and now it's able to write a fast and modern websites for me.
Amazing content
5:35 man that one got me real good almost choked thank you
thank you!
fireship was in Demon level of educational content delivery, now he's just Dragon level heading to God.
2:26 Hol up what is that href XD Fantastic video thank you
great video 🎉
this video taught me to give up on trying to make websites at all
🔥 content!
@NotesNNotes
Жыл бұрын
🔥🚢 content!
I would add JPEG-XL to modern image formats; slap it in your picture elements and image-sets now so browsers know your site wants supports (some forks do support it). CDN can often time be an expensive premature optimization. I don't think folks should blindly assume they need one in a lot of cases. “Workers” can be overkill too. The free services will go the way of Heroku in the future and drop their free tier so it’s better to avoid if you can. Frameworks like Qwik don’t even work with out JavaScript which circles back to many sites don’t need more than HTML, a single CSS file, and sparing JavaScript for enhancement; so many sites are broken with ‘optimizations’ that make things worse. The added complexity can just as much add cost to maintenance and development.
this is fantasmic
I think the tool is great, but I've noticed some differences when running it on my CI. I already have a setup that checks for Lighthouse scores, and I've found that there's a significant gap between the scores in production and those reported by the tool. For example, while the production score is around 75 (which seems correct), the same page scores 95 on Unlighthouse.
@martinchya2546
Жыл бұрын
Lightouse is not a tool meant to be comparable between different machines/environments. Only compare LH audits to another LH audits on the same machine. Its heavly influenced by your network speed, operating system, cpu hardware, etc. There is no point comparing scores on CI vs your personal machine. Even tools like WPT and GSPI both use LightHouse under the hood, yet you will get vastly different scores using them.
Didn't expect the hub reference
Hi, great vid, just one note on the use of unlighthouse, you must add --throttle to the command line, without it you won't see genuine lighthouse results
cool video)
regarding CLS, Google does this thing where they add "People also search for" box below the result you clicked on when you go back to the search results page from the site you clicked on. This component blows
I instantly improved my lighthouse score by doing this simple trick 😱 (fireship bots hate him) I disabled react developer tools 💪
@YuriG03042
Жыл бұрын
you had that enabled on prod???
@dave6012
Жыл бұрын
@@YuriG03042 it’s a browser extension 😄
please make a video on sql optimization, it will be very helpful.
astro literally sick
this is sadly too true, I feel like that guy from the simpsons episode "barts comet" who cuts off professor frink's introduction by screaming *"QUIT STALLING; WHAT'S THE PLAN?!"*
@pepperpeterpiperpickled9805
Жыл бұрын
Wait, did you guys read that last part?
Why did you censor github?
"Aspect Ratio: 69/420" 😂
Can you use unlighthouse for projects that use an MVC model like laravel? I tried it on my product, and it wouldn't mind any routes. I then tried just feeding it directly the URL's for my projects 10 biggest webpages, and it ignored the routes in the URL so it didn't work.
The irony of me just without thinking double clicking the right side of the screen after the first line 😂
I would love the see an aspect ration of 69/420 in production. Hilarious, thanks for the good laugh along with kickass content.
By far the most common cause of unexpected CLS I come across is Google ads that keep changing size. It would be nice if they could do something about that
How would the unlighthouse website performed on unlighthouse analysis?
is Astro better than QwikCity and/or SolidStart in terms of performance?
This topic is fine, the video is fine, the comments are fine except a few comments are inside me.
Nextjs: add few default html properties to img tag: we fix the image tag😁
Not a huge fan of the yellow furniture, but mad respect to any mother fucker that runs a blade brace; guaranteed shoulder bruising... And now a felony, because reasons.
Just remember, when a measure becomes a target it stops being a good measure, lighthouse is a diagnostic tool not an optimization target, use your judgement.
@poulticegeist
Жыл бұрын
Thanks, Rich Harris
This is all foreign to me. Building an enterprise web app that our clients open at the start of the day, then leave open. It's actually preferable for us to have some delay on first load, get it all in the cache, and then a smooth experience after that.
Astro is wild
How to enable that console ligging optionsi cant find
❤
Also avoid JS methods that cause layout thrashing such as getBoundingClientRect(), getComputedStyles() etc.
I was unable to try unlighthouse by following the docs. Can anyone who have tried it help me.
👏
Here for the memes!😄
Is unlighthouse work for spa?
HGW ordering is important
2:04 you missed marking the function as an "async" function 😅