Improving Load Performance - Chrome DevTools 101

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025

Комментарии • 205

  • @lucbian
    @lucbian 2 года назад +28

    Anyone watching this in 2022, the audit tab is now called "Lighthouse" on Chrome. You're welcome.

  • @mohammadkamruzzaman4154
    @mohammadkamruzzaman4154 Год назад +1

    One of the best tutorial I found online for improving website performance. Keep it up.

  • @Jespertheend2
    @Jespertheend2 6 лет назад +335

    The key thing to remember is to not add bitcoin mining functionality on page load lol

    • @_akuma06
      @_akuma06 6 лет назад +29

      Yes, async it :p

    • @wt030
      @wt030 6 лет назад +3

      And to change webpack env to prod, lol

    • @andrewfong101
      @andrewfong101 6 лет назад +8

      Put the bitcoin mining operation into a web worker instead lul

    • @germanhealthbeautyproducts3433
      @germanhealthbeautyproducts3433 5 лет назад

      :))

    • @pauldev8967
      @pauldev8967 3 года назад

      What if I want myBitcoin to run so that I could gain money? Use async script running in worker😅💲

  • @KanagawaMarcos
    @KanagawaMarcos 6 лет назад +22

    This was the best video to introduce me to learn basics of performance of web. Thank you, I was looking for something like that.

  • @maximilian.R
    @maximilian.R 5 лет назад +2

    Thank you!!! Holly molly! I didn't think I was going to make it through this video with its instructions. A great instructor will make it a breeze! Gee! Can't believe I made it through all the scripting. Thank you! The score changed from 0 to 100! LOL Unreal! I am an appraiser and have to load tens , or hundreds, of property listings sometimes, to complete analyses in Excel. It was loading too slow. Now, it made a huge difference. Thanks, again!

  • @AndrewRusinas
    @AndrewRusinas 3 года назад +1

    We need whole series about this 🥺

  • @10Web
    @10Web 3 года назад +8

    This is really an easy tutorial. Simple and not overwhelming.

  • @michaelparkernorton4841
    @michaelparkernorton4841 Год назад +4

    So I just completed this. Things have changed a bit over the last 5 years. Interestingly it starts at a performance of 45 and went down when I made changes for the first 2-3 exercises lol. By the end though it was up to 81. Not quite 94. It was cool learning about the optimization process.

  • @Vlad-ld9cu
    @Vlad-ld9cu 4 года назад +2

    You're a good teacher. Very useful information for discovering this tool.

  • @sanjayprashadh3969
    @sanjayprashadh3969 Год назад

    Awesome intro video to improve web page performance !

  • @travelmoustache
    @travelmoustache 6 лет назад +84

    Really helpful, I laughed hard on the mineBitcoin function :D

    • @knekkii
      @knekkii 6 лет назад +1

      I snorted!

  • @talk2s5061X
    @talk2s5061X 5 лет назад +4

    excellent video I am going to look like an expert in my team now

  • @CaioLouro
    @CaioLouro 6 лет назад +2

    Really great and direct to the point!

  • @施佳乐-j1y
    @施佳乐-j1y 5 лет назад

    It seems that setting the mode of webpack to “production” can help us a lot! Aweme!

  • @knowledgematters2023
    @knowledgematters2023 4 года назад

    This helped me a lot in optimizing a heavily loaded wordpress website. :)

  • @roylondon1619
    @roylondon1619 5 лет назад

    in this video at 4:44 mark you said to import the compression library . I've been trying to figure it out . How do I import the compression library. I'm stuck at this stage. 😕Thanks ☺

    • @David-yz9mb
      @David-yz9mb 5 лет назад

      What he meant was to add the 2 lines const compression = require('compression');
      app.use(compression());
      To be fear I also did not understand it at first, because I'm not familiar with require and app.use.

  • @ravalikag519
    @ravalikag519 Год назад

    Hey @Kayce, great video ! Can you give any pointers about doing something similar to optimize an SSG website ?

  • @amarg26
    @amarg26 4 года назад

    At 8:40 You have removed the jquery entirely. What if i have other dependency librarey like JQuery UI, Jquery Datatable etc? Can You even remove unused code from themby this coverage? Won't it break these libraries ?????

  • @venky76v
    @venky76v 6 лет назад +1

    Awesome video Kayce. Brilliant as always 👏👏 .. wonder if your cat is mining your cat food 🤔🤔

  • @ShivangiSingh-wc3gk
    @ShivangiSingh-wc3gk 2 года назад

    Awesome, didn't know anything about this.

  • @CarlitoProductions
    @CarlitoProductions 5 лет назад

    This is great info on performance and SEO related stuff. Thanks!

  • @VivekTR
    @VivekTR 2 года назад

    You're a great teacher.

  • @johannesdrechsler8585
    @johannesdrechsler8585 6 лет назад +1

    Great video and nice examples!

  • @cagmz
    @cagmz 6 лет назад +3

    7:03 When Showing Coverage, does it matter if Webpack is in development or production mode? I'm assuming that you'd want to use development mode in order to view the unminified source and have the coverage show red/green accurately (as opposed to production mode, where the source might be minified). Can anyone confirm?

  • @moshiuramit
    @moshiuramit 6 лет назад

    Awesome!! Where can I get more learning resources about Audit, Performance and resources about how does use them to improve load performance ?

    • @RomboutVersluijs
      @RomboutVersluijs 4 года назад

      REad the info and click read more. Buts it quite limited and kind of tech related. You can also check developers.google.com

  • @jamaicanfoodsandrecipes
    @jamaicanfoodsandrecipes 4 года назад +1

    Can some help me out please, how to get my website to open up in glitch?

  • @RajeshJustaguy
    @RajeshJustaguy 4 года назад

    this was so helpful.. its gold

  • @AbhishekSharma-cq2hw
    @AbhishekSharma-cq2hw 3 года назад

    This was extremely helpful!

  • @ecommercetechbuild1354
    @ecommercetechbuild1354 2 года назад

    Very helpful video.Thanks a lot.

  • @videojock100
    @videojock100 5 лет назад

    This is Really good for any novice

  • @SurfingTheMentawais
    @SurfingTheMentawais 2 года назад

    Super useful video. Thanks

  • @flysports3856
    @flysports3856 6 лет назад

    Very helpful especially for a novice developer like me.

  • @juliocornelio4151
    @juliocornelio4151 5 лет назад +1

    great tutorial. very well made. thank you

  • @WIKIKALI
    @WIKIKALI 5 лет назад

    Great video with nice examples!

  • @IjiyodeZulykhoh
    @IjiyodeZulykhoh 4 месяца назад

    Is there a new video or an update for this video? It's saying project is no more running...

  • @MarkThackwell
    @MarkThackwell 6 лет назад +2

    I love Fesh too

  • @mranzuann7950
    @mranzuann7950 3 года назад

    wow, this is really useful, thank you so much

  • @davidpicarazzi
    @davidpicarazzi 4 года назад +2

    i am a little confused, it says glitch/edit/#!/tony but how do i do this for my own site?

  • @AjaySolleti
    @AjaySolleti 6 лет назад +5

    I want more cats from now on in these talktorials

  • @jaik9321
    @jaik9321 4 года назад

    good one ; can we showcase for a web page (desk top version).

  • @kablamopow
    @kablamopow 2 года назад

    Just wondering if I do request blocking, will that influence the Audit performance?

  • @amd_d_praised
    @amd_d_praised Год назад

    Has the Audit tool been replaced by Lighthouse?

  • @violetaveleva6143
    @violetaveleva6143 4 года назад +1

    great background!

    • @asfandalikhan6269
      @asfandalikhan6269 3 года назад +1

      that's what i was thinking the whole video xdd

  • @timura.6658
    @timura.6658 6 лет назад

    У каждого из нас есть своя функция 'майнинг биткойн'. Спасибо ребят за то что делаете, дай вам Бог здоровья))

  • @KevsGuide
    @KevsGuide 2 года назад

    Fantastic thankyou 🎯🚀

    • @KevsGuide
      @KevsGuide 2 года назад

      3:00 AUDIT (now Lighthouse TAB).

    • @KevsGuide
      @KevsGuide 2 года назад

      5:45 sizing images

    • @KevsGuide
      @KevsGuide 2 года назад

      6:37 eliminate render blocking

  • @praveenchandrasekaran7064
    @praveenchandrasekaran7064 4 года назад

    Eliminate render-blocking resources in coverage shows the unused coding for that particular page or is it for all page unused codes?

  • @menakaramasamy8936
    @menakaramasamy8936 5 лет назад

    Thank you so much. Learnt a lot

  • @gholamrezadar
    @gholamrezadar 4 года назад

    very informative video, thank you!

  • @ShowMeTheCodeAlejandroMarquez
    @ShowMeTheCodeAlejandroMarquez 3 года назад

    I am running setUpNode & indexWholeBlockchain in my render function. My app no longer works. What's going on?

  • @abnag333
    @abnag333 5 лет назад

    Hi.. I am not able to see red or green bar to mark used and unused codes in the source pane. I am using chrome 77.

  • @ravikishore-anchala
    @ravikishore-anchala 5 лет назад

    How do I audit a page which is part of flow whose url cannot be loaded, like I go few steps further by clicking few buttons and this is done using traditional xhr calls and the url of the page doesnt change.

  • @jared394
    @jared394 5 лет назад

    Awesome video, thanks!

  • @jeanneviegarciano7147
    @jeanneviegarciano7147 4 года назад

    Thank you for this! Very informative

  • @RomboutVersluijs
    @RomboutVersluijs 4 года назад

    I got a question about audit. When i check "request counts" Its shows images as 2nd in the list with 256Kb. But when i check network tab i dont get near that value. There is no more info in request acount list to check, its just a number i see. I wondering if that number is actually correct

  • @sravangopu5730
    @sravangopu5730 3 года назад

    Hi bro, can you please make a video how to create new custom storage in dev tools

  • @manoharjonnalagadda6551
    @manoharjonnalagadda6551 4 года назад

    Please explain the performance panel in detail

  • @pemessh
    @pemessh 6 лет назад

    This will be super helpful
    Thanks

  • @mohdmzaman
    @mohdmzaman 5 лет назад

    Extremely helpful, Thank-you Brother.

  • @avimehenwal
    @avimehenwal 4 года назад

    Its amazing video ... super high quality content. Cant believe its for free XD

    • @jayaprakashr5691
      @jayaprakashr5691 2 года назад

      This comment is look like you are watching and enjoying like a movie

  • @desmundullrich
    @desmundullrich 4 года назад

    1:56 Audit is "Lighthouse" for me
    I'm running Google Chrome: 83.0.4103.116 (Official Build) (64-bit)
    On macOS Version 10.15.5 (Build 19F101)

  • @restuwahyusaputra7764
    @restuwahyusaputra7764 4 года назад

    Great tips

  • @divyapai5560
    @divyapai5560 5 лет назад

    Is server.js file belongs only to node.js or normal javascript can also use

  • @jjva9
    @jjva9 4 года назад

    Changes aren’t visible as and when done why? I have changed my css file of the Wordpress website but it keeps on loading the previous version only . Please help

  • @andreiasw1
    @andreiasw1 5 лет назад

    I have just enabled compression, checked in network and saw indeed that content encoding shows "gzip", the audit however does not recognize this. I have a multipage webapp and apparently the audit only tests the login page where no compression happens because its too small. Any suggestions? Thank you!

    • @andreiasw1
      @andreiasw1 5 лет назад

      @@kaycebasques7422 Wow, awesome, thanks for the quick response. I enabled compression for the entire middleware. I went to the page I wanted to audit and hit start. Lighthouse however evaluated the login page according to the results.

    • @andreiasw1
      @andreiasw1 5 лет назад

      @@kaycebasques7422 Appears so. In the title of the audit I can see only the main link (I am testing on localhost so I see localhost:4200 in the audit although I expect it to evaluate localhost:4200/projects, the path I am at when starting the audit). With the clear storage tick, the main page (localhost:4200) indeed redirects to the login page.

  • @mkgujjars7320
    @mkgujjars7320 6 лет назад +8

    Good

  • @Invingagan
    @Invingagan 6 лет назад

    Indeed a great video. What do you recommend to make performance measurement for angular 6 application? Angular build creates files which are out of my control.

    • @Invingagan
      @Invingagan 6 лет назад

      @@kaycebasques7422 thanks, i have created an angular application with lazily loaded modules. I has bad performance in first paint. Any input to what to look for to improve?

  • @王土达-b2z
    @王土达-b2z 6 лет назад

    Awesome video.

  • @tinmank
    @tinmank 4 года назад

    Audit feature does not work in Electron, it says can only audit HTTP/S and Chrome extensions.

  • @spencerjones8269
    @spencerjones8269 4 года назад +1

    Audits tab is the same as Lighthouse no?

    • @truthsmiles
      @truthsmiles 4 года назад

      Thank you! I was going crazy haha

  • @mrclaytron
    @mrclaytron 6 лет назад +5

    Awesome video Kayce!
    I hope Tony has found a better way to mine for Bitcoin... That's one hell of a talented cat! :-)

  • @rasulmamedov744
    @rasulmamedov744 5 лет назад

    Am I able to use this on my WIX homepage?

  • @wailhamman6317
    @wailhamman6317 4 года назад

    is Audit the new Lighthouse tab ?

  • @newnam
    @newnam 5 лет назад

    I'm fairly new to using the Chrome Dev Tools, but these files you're loading to better load time (server.js, model.js, etc.) - Are these files I simply create in the root or are these files specifically contained within a Glitch hosting environment?

  • @SpidoHits
    @SpidoHits 3 года назад

    hello sir, this was useful. i am facing the problem with my website, i don't know that how to remove unused java scripts from my blog HTML code. please will you help me.

  • @webapps8800
    @webapps8800 4 года назад

    hello
    thanks a lot for this good video
    can u help plz realy need help
    i wana know how to defer loading of javascript file
    the problem is
    the code is generated dynamicly in template file but without defer option
    can u help plz ???

  • @Vagelis_Prokopiou
    @Vagelis_Prokopiou 6 лет назад

    Thanks. Really useful.

  • @AntonMitsev
    @AntonMitsev 6 лет назад

    Great one! Thanks!

  • @YeneSpace
    @YeneSpace 4 года назад

    1 question, I have found red lines in "Coverage"
    and they are from Elementor. I need some of them but the rest is RED
    can I remove all the unwanted lines or will I lose other working lines with them.
    If i can remove them separately how to?

    • @ashkanahmadi
      @ashkanahmadi 3 года назад +1

      I've been using Elementor for about 3 years now and this is one of the big reasons I'm moving away from it completely. They load a lot of stuff that isn't needed at all. They add a lot of code bloat and unnecessary http requests and load some libraries whether you need them on the page or not. I have heard Oxygen does a much better job with this but still, no page builder can be as good as professional tools and hand-coding using best practices.

    • @YeneSpace
      @YeneSpace 3 года назад

      @@ashkanahmadi Yeah its a point worth fixing.

  • @nouribenz
    @nouribenz 2 года назад

    Very useful thanks

  • @emilioleon7505
    @emilioleon7505 4 года назад

    Hi! My website load good when loading turns to the right, but when it starts loading to the left it takes like 4 secs. what is the difference between loading to the left and right? (Chrome)

  • @instylecasesinstylecases7239
    @instylecasesinstylecases7239 3 года назад

    Would you recommend simple tool for measuring how long does take to load the page?

  • @jonathanfeldman7309
    @jonathanfeldman7309 6 лет назад

    Somewhat related, but when you mentioned adding the async tag to script elements it reminded me of an issue I had with fonts. Whenever I add a font or an icon set like material icons to my site, the audit tab complains about it being a render blocking resource that takes a moderate amount of time to load. I think some blog posts I read suggest asynchronously loading the font via JavaScript, but that seems a little complicated. It looks like adding a preload tag for the font before the link tag that actually references it sometimes causes it to pass the audit, but I'm not sure if it has any actual effect on page load. Any suggestions on how to avoid it? I know font loading comes up frequently so sorry if this has been asked a lot.

    • @entalpa
      @entalpa 6 лет назад

      Maybe you should split the fonts in seperate files and load only the file with the fonts that you really use on the document.

    • @fernandolunadev
      @fernandolunadev 6 лет назад

      Hi @Jonathan!
      Are you using the Material Icons font, remotely?
      I'm thinking maybe a good idea for it, is making a count the total of Material icons you are using, and render these in GIF images, stores locally and call them from your HTML Materialize Components.
      I think these will get better performance than using a remote icon web font... or not?

  • @sahibisht6051
    @sahibisht6051 4 года назад +1

    Hello dev tool I have a problem (how to remove unused javascript in blogger) please someone tell me.

  • @elmotareal
    @elmotareal 5 лет назад

    great video, seriously deranged conclusion, you enhanced the performance by removing a functionality? I too can display a "hello page" html page in no time, I really was looking for more... like does set timeouts enhance or block page rendering?

  • @e4r281
    @e4r281 6 лет назад +4

    That cat is so cute !

  • @bannarirajak4334
    @bannarirajak4334 3 года назад

    Very nice👍

  • @aidThompsin
    @aidThompsin 4 года назад +1

    Glitch is failing. "tony has been suspended". Any tips on how to improve load performance of that?

  • @RitchieMatos
    @RitchieMatos 5 лет назад

    I have a question please. Why does the glitch keep on restarting on my end? Am I missing something?

  • @amrsherif6084
    @amrsherif6084 3 года назад

    great video

  • @whereismycheese5481
    @whereismycheese5481 4 года назад +1

    Now Audits tab is renamed as Lighthouse?

  • @rightwingcouriernews899
    @rightwingcouriernews899 5 лет назад

    Tony, the cat is adorable, You did a great job!!! Please tell Tony Thank You for the fish on the Dev Pg. really well-done Video I think I can make My site load better. Ohh with that being said, does the Google Dev tools work on WordPress site? or do I need to do something else? Thank You

  • @AbhishekKumar-mq1tt
    @AbhishekKumar-mq1tt 6 лет назад

    Thank u for this awesome video

  • @shwetaganganhalli7190
    @shwetaganganhalli7190 4 года назад

    Optimizing web speed, on this code can be written in selenium code?
    is it possible.

  • @okoiful
    @okoiful 4 года назад

    thx... nice and clear!

  • @JamieBensonTV
    @JamieBensonTV 4 года назад

    This is fine for helping navigate the Google Developer tools (thanks) but seems to quickly skip some of the 101 style actionable advice. How do you create the "edit page" for your own site. I'm able to identify the unused code but it definitely does not look the same as the one's you have and I don't see how to add it to the request blocking and/or delete it. Typing in /libs* as a new pattern does not seem to do the trick. Huh, I appreciate the effort and difficulty of relaying this stuff in a short video but it really seems like it needs a few more descriptive elements to be classified as "101". Thanks for your time.

  • @RomboutVersluijs
    @RomboutVersluijs 4 года назад

    THe performance test you showed keeps crashing with the CPU throttling on, runs fine leaving it off

  • @SandroTreglia
    @SandroTreglia 6 лет назад

    thank you very much👍

  • @gexcube1981
    @gexcube1981 2 года назад

    Good evening, can I know a senior expert to speed up my website from DESKTOP AND MOBILE on chrome and edge?
    a person who knows how to fix errors and bugs without ruining the website;

  • @gilney.mathias
    @gilney.mathias 6 лет назад

    Holy... That was very informative kk' Thank you!

  • @dominikseljan3043
    @dominikseljan3043 6 лет назад +1

    Great tips! Thanks so much for the video