The ultimate guide to web performance

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ค. 2023
  • 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

  • @ImaDoofus
    @ImaDoofus ปีที่แล้ว +350

    I'm a simple man, I see a fireship video, I click.

    • @PawitSahare
      @PawitSahare ปีที่แล้ว +2

      Ok bro

    • @iercan1234
      @iercan1234 ปีที่แล้ว +2

      you're the guy from hypixel housing right

    • @randxalthor
      @randxalthor ปีที่แล้ว +1

      Simpleton

    • @sabrinakingsley798
      @sabrinakingsley798 ปีที่แล้ว +1

      I see this comment on every video

    • @medaliboulaamail6491
      @medaliboulaamail6491 ปีที่แล้ว

      I'm an even simpler man I see my brother then I smash with him

  • @radi4nt_
    @radi4nt_ ปีที่แล้ว +1158

    likes.

    • @NoorquackerInd
      @NoorquackerInd ปีที่แล้ว +314

      _inside_ of you???

    • @brooksgunn5235
      @brooksgunn5235 ปีที่แล้ว +187

      Hol up

    • @owenwexler7214
      @owenwexler7214 ปีที่แล้ว +102

      somebody just ran a detailed Lighthouse analysis on PH lmao

    • @ranaakhil
      @ranaakhil ปีที่แล้ว +33

      Waitt a minnuuttee

    • @kamehameha38
      @kamehameha38 ปีที่แล้ว +64

      something ain't right

  • @aryangavale4878
    @aryangavale4878 ปีที่แล้ว +248

    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
      @ThomPorter74 ปีที่แล้ว +5

      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
      @colinpickup5770 9 หลายเดือนก่อน

      Jeff is da man

  • @michaelai8274
    @michaelai8274 ปีที่แล้ว +38

    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
      @shivankbatra5643 ปีที่แล้ว +2

      same man same, its an ocean when you peek into it

    • @moritz759
      @moritz759 8 หลายเดือนก่อน +1

      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.

  • @Patrity
    @Patrity ปีที่แล้ว +90

    Unlighthouse has been a great help to my workflow. Awesome tool!

    • @omnilothar
      @omnilothar ปีที่แล้ว +2

      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?

  • @ThePersonWhoKnocks
    @ThePersonWhoKnocks ปีที่แล้ว +58

    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!

  • @MatVids2
    @MatVids2 ปีที่แล้ว +40

    Fireship really knows how to take his concept and jam it right where I need it the most. Thanks, Jeff!

  • @loaded_with_hay
    @loaded_with_hay ปีที่แล้ว +1

    I had heard about those before but could never remember which was which. Now everything is crystal clear. Good job.

  • @universaltoons
    @universaltoons ปีที่แล้ว +71

    Fireship puts so much effort in his videos that I can feel it coming inside of me

    • @AmxCsifier
      @AmxCsifier ปีที่แล้ว +34

      Wtf with these inside of me jokes? Is this some kind of an inside joke? Wait.... 🤦‍♂

    • @eviltom8783
      @eviltom8783 ปีที่แล้ว +1

      ​@@AmxCsifierI believe they just copied the tip comment for likes.

    • @ArthurKhazbs
      @ArthurKhazbs ปีที่แล้ว +3

      @@AmxCsifier They're probably making naughty comments just because the P. Hub was mentioned in this video

  • @thefynn
    @thefynn ปีที่แล้ว +20

    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.

  • @martinchya2546
    @martinchya2546 ปีที่แล้ว +2

    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.

  • @SurprisedSyrup
    @SurprisedSyrup ปีที่แล้ว

    I'm so glad I found this channel, learning so much new stuff on every single video

  • @atirpok3
    @atirpok3 ปีที่แล้ว +14

    That is definitely the perfect aspect ratio for all images. Definitely superior to the golden mean.

  • @NotTheHeroStudios
    @NotTheHeroStudios ปีที่แล้ว +6

    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

  • @rukeeojigbo2221
    @rukeeojigbo2221 11 หลายเดือนก่อน +1

    Wow!!!!!!!!!!! Men, how you break things down so clearly and in such a practical manner is beyond me. Thanks a lot for this video

  • @p_o_z_e
    @p_o_z_e ปีที่แล้ว +2

    Scary timing as i have just been tasked with trying to find these kind of performance bottlenecks, awesome video like always!

  • @thelateweeb2799
    @thelateweeb2799 ปีที่แล้ว

    These videos are great I can feel all the hard work inserted inside

  • @almightytony09
    @almightytony09 ปีที่แล้ว +2

    Great video Jeff! Love the info!

  • @onthegocode1443
    @onthegocode1443 ปีที่แล้ว +13

    Awesome stuff, now I'm going to use this to optimize my portfolio

    • @addidix
      @addidix ปีที่แล้ว +32

      need my simple black and white single page portfolio to be blazingly fast

    • @hyper_channel
      @hyper_channel ปีที่แล้ว +1

      @@addidix yes

  • @lpanebr
    @lpanebr ปีที่แล้ว

    Amazing content. Exponential value per minute. Thanks.

  • @roid1510
    @roid1510 ปีที่แล้ว

    Thank you for this great tutorial. Id love to hear more towards accessibility

  • @oc4725
    @oc4725 ปีที่แล้ว +1

    Thanks alot for helping the world become more efficient and familiar with high quality web development

  • @SAMs3piol
    @SAMs3piol ปีที่แล้ว

    Dude, this Beyond Fireship stuff is pure gold.

  • @nicomirinda
    @nicomirinda ปีที่แล้ว

    oh god, I learn so much from your (

  • @svilen12345
    @svilen12345 ปีที่แล้ว

    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

  • @moatez
    @moatez ปีที่แล้ว +3

    Great video ❤, more on performance pls 🎉

  • @hakuna_matata_hakuna
    @hakuna_matata_hakuna ปีที่แล้ว +8

    am so glad you're off theAI hype train and dripping awesome practical content again

    • @YuriG03042
      @YuriG03042 ปีที่แล้ว +1

      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
      @vaisakhkm783 ปีที่แล้ว +3

      @@YuriG03042 atleast he is out of that...

  • @xcrap
    @xcrap 9 หลายเดือนก่อน

    That UnLighthouse is really helpful! Thanks a lot :)

  • @HARIKRISHNANSRSRSHD
    @HARIKRISHNANSRSRSHD ปีที่แล้ว

    Amazing. You are doing an awesome job for the tech community.
    I dont have words to express the gratitude.

  • @ComradeTomatoTurtle
    @ComradeTomatoTurtle 11 หลายเดือนก่อน

    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.

  • @TechDiffuse
    @TechDiffuse ปีที่แล้ว

    Awesome video! Keep up the great work!

  • @ralfllanasas4258
    @ralfllanasas4258 ปีที่แล้ว

    Appreciate the detailed video. Would love to see you optimize an actual page live.

  • @7bagette
    @7bagette ปีที่แล้ว

    Thank you so much for unlighthouse!!!

  • @dennis9566
    @dennis9566 หลายเดือนก่อน

    That's the perfect beginning!

  • @nixcreativecoding
    @nixcreativecoding 2 หลายเดือนก่อน

    Awesome content! 🔥🔥

  • @YatharthVerma
    @YatharthVerma 8 หลายเดือนก่อน

    Great Video. Learnt a lot. thanks

  • @chaseclingman
    @chaseclingman ปีที่แล้ว +30

    I think more importantly is that developers need to focus on the instant gratification that the user gets when the page loads.

  • @subinaypanda9936
    @subinaypanda9936 ปีที่แล้ว

    Your sense of humour is really beyond fireship

  • @ben_sch
    @ben_sch ปีที่แล้ว

    Glad to see Astro crushing it in the Unlighthouse reports. Am using it for my next client project 😁

  • @nagesh007
    @nagesh007 11 หลายเดือนก่อน

    Awesome Info 😍, Thanks

  • @austinamento
    @austinamento ปีที่แล้ว

    I hope you never stop making videos or else my job will be at risk!

  • @chromevillager
    @chromevillager ปีที่แล้ว +27

    Amazing how the college board website is bad in every one of these metrics

    • @sullivanb2306
      @sullivanb2306 ปีที่แล้ว +6

      collegeboard’s website makes me want to die every time I have to use it

  • @brNoMundo123
    @brNoMundo123 ปีที่แล้ว

    Great video!

  • @ShahriarAhmedShovon
    @ShahriarAhmedShovon ปีที่แล้ว

    True gem. Thanks.

  • @NicolasSilvaVasault
    @NicolasSilvaVasault ปีที่แล้ว +1

    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

  • @wmcphail
    @wmcphail ปีที่แล้ว

    thank you!

  • @zeeshannagori007
    @zeeshannagori007 ปีที่แล้ว +1

    Great 🎉
    Can you also make a video on how can we optimise 3rd libraries to improve the performance of the website?

  • @PranavKunjir
    @PranavKunjir ปีที่แล้ว

    i like how the beyond fireship became like the main channel before ai revolution!

  • @LukasSoftwareDeveloper
    @LukasSoftwareDeveloper ปีที่แล้ว

    2:26 Hol up what is that href XD Fantastic video thank you

  • @lynwoodcallahan7286
    @lynwoodcallahan7286 ปีที่แล้ว

    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)

  • @codename_enzo
    @codename_enzo ปีที่แล้ว

    I like this video even before I start watching it

  • @ricardocnn
    @ricardocnn ปีที่แล้ว +11

    Facebook and Google tracking scripts hit a lot the performance

    • @kr30000
      @kr30000 ปีที่แล้ว

      Did you look into partytown?

    • @jondoe6608
      @jondoe6608 ปีที่แล้ว +1

      Or even better don’t be evil and don’t have google and facebook tracking

    • @ricardocnn
      @ricardocnn ปีที่แล้ว

      @@kr30000 No

    • @ra2enjoyer708
      @ra2enjoyer708 ปีที่แล้ว

      @@kr30000 Partytown has a loads of issues with loading 3rd-party scripts.

    • @kr30000
      @kr30000 ปีที่แล้ว

      @@ra2enjoyer708
      I mean yea, 3-rd party scripts might always have issues depending on many factors.

  • @UmanPC
    @UmanPC ปีที่แล้ว

    Definitely a big LIKE from me

  • @freakfreak786
    @freakfreak786 2 หลายเดือนก่อน

    5:35 man that one got me real good
    almost choked
    thank you

  • @lewismuriungi4564
    @lewismuriungi4564 6 หลายเดือนก่อน

    Amazing content

  • @40fps143
    @40fps143 ปีที่แล้ว

    Whenever I see a new fireship video I come fast.

  • @Sooyush
    @Sooyush ปีที่แล้ว +1

    fireship was in Demon level of educational content delivery, now he's just Dragon level heading to God.

  • @markilabot14
    @markilabot14 ปีที่แล้ว

    Can we just appreciate the amount of meme fireship puts inside of me

  • @baggier
    @baggier ปีที่แล้ว +3

    10% web development guide
    90% horny goat weed

  • @redabelouch6776
    @redabelouch6776 ปีที่แล้ว

    Hell no, you don't need to capture my attention. I see a fireship video, i sit down, click, and focus with the video😉

  • @atomisku
    @atomisku ปีที่แล้ว

    This guy does it yet again

  • @rdec5448
    @rdec5448 ปีที่แล้ว +4

    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.

  • @marius1029
    @marius1029 ปีที่แล้ว

    great video 🎉

  • @nanow1990
    @nanow1990 ปีที่แล้ว

    I feed all this information to my AI and now it's able to write a fast and modern websites for me.

  • @hipdev_
    @hipdev_ ปีที่แล้ว +2

    🔥 content!

    • @NotesNNotes
      @NotesNNotes ปีที่แล้ว +6

      🔥🚢 content!

  • @radezzientertainment501
    @radezzientertainment501 ปีที่แล้ว

    this is fantasmic

  • @SKRUBL0RD
    @SKRUBL0RD ปีที่แล้ว

    this video taught me to give up on trying to make websites at all

  • @dave6012
    @dave6012 ปีที่แล้ว +1

    I instantly improved my lighthouse score by doing this simple trick 😱 (fireship bots hate him)
    I disabled react developer tools 💪

    • @YuriG03042
      @YuriG03042 ปีที่แล้ว

      you had that enabled on prod???

    • @dave6012
      @dave6012 ปีที่แล้ว

      @@YuriG03042 it’s a browser extension 😄

  • @7heMech
    @7heMech ปีที่แล้ว

    Didn't expect the hub reference

  • @gotoastal
    @gotoastal ปีที่แล้ว

    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.

  • @tommyhetrick
    @tommyhetrick ปีที่แล้ว

    The irony of me just without thinking double clicking the right side of the screen after the first line 😂

  • @user-ec6mo9yn5r
    @user-ec6mo9yn5r 4 หลายเดือนก่อน

    cool video)

  • @s0ulweaver
    @s0ulweaver ปีที่แล้ว

    This topic is fine, the video is fine, the comments are fine except a few comments are inside me.

  • @vitormalencar
    @vitormalencar ปีที่แล้ว

    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
      @martinchya2546 ปีที่แล้ว +1

      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.

  • @DioArsya
    @DioArsya ปีที่แล้ว

    astro literally sick

  • @gururajchadaga
    @gururajchadaga 5 หลายเดือนก่อน

    I would love the see an aspect ration of 69/420 in production.
    Hilarious, thanks for the good laugh along with kickass content.

  • @user-dx8om6dl9p
    @user-dx8om6dl9p ปีที่แล้ว

    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

  • @roodiger
    @roodiger ปีที่แล้ว

    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.

  • @sm2azad255
    @sm2azad255 ปีที่แล้ว

    please make a video on sql optimization, it will be very helpful.

  • @HemstitchedIrony
    @HemstitchedIrony ปีที่แล้ว +2

    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.

  • @laniquo
    @laniquo ปีที่แล้ว +2

    "Aspect Ratio: 69/420" 😂

  • @pepperpeterpiperpickled9805
    @pepperpeterpiperpickled9805 ปีที่แล้ว +1

    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?!"*

  • @universaltoons
    @universaltoons ปีที่แล้ว

    is Astro better than QwikCity and/or SolidStart in terms of performance?

  • @OkayNoway
    @OkayNoway ปีที่แล้ว +2

    Why did you censor github?

  • @deepjoshi356
    @deepjoshi356 ปีที่แล้ว

    How would the unlighthouse website performed on unlighthouse analysis?

  • @Jamiered18
    @Jamiered18 ปีที่แล้ว +2

    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.

  • @Makwaje
    @Makwaje 6 หลายเดือนก่อน

    Astro is wild

  • @sushiroikura
    @sushiroikura ปีที่แล้ว

    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

  • @pratikbhetwal3670
    @pratikbhetwal3670 ปีที่แล้ว +2

    Also avoid JS methods that cause layout thrashing such as getBoundingClientRect(), getComputedStyles() etc.

  • @nielskersic328
    @nielskersic328 ปีที่แล้ว +6

    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

  • @colinmaharaj
    @colinmaharaj 11 หลายเดือนก่อน

    HGW ordering is important

  • @HariHaran_10
    @HariHaran_10 ปีที่แล้ว +1

    How to enable that console ligging optionsi cant find

  • @MePeterNicholls
    @MePeterNicholls ปีที่แล้ว +2

    Google Adsense is causing slow performance that Google Adsense doesn’t like.

  • @tenebrae1191
    @tenebrae1191 11 หลายเดือนก่อน

    👏

  • @basil127
    @basil127 ปีที่แล้ว

    Is unlighthouse work for spa?

  • @thesanjithkumar
    @thesanjithkumar ปีที่แล้ว

    I ran unlighthouse on my personal website saw thzt it uses emulated mobile device, how can I run it for desktop devices

  • @johnychinese
    @johnychinese ปีที่แล้ว +1

    Nextjs: add few default html properties to img tag: we fix the image tag😁

  • @ewerybody
    @ewerybody ปีที่แล้ว

    4:09 wth!? Is that real I'm so looking up Wolfgang Ingenfelds now 😅

  • @jaejonmalloy1341
    @jaejonmalloy1341 11 หลายเดือนก่อน

    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.

  • @winter7885
    @winter7885 5 หลายเดือนก่อน

    I might be dumb but i dont understand how to set up unlighthouse to start using it.