Beyond fast with new performance features

Поділитися
Вставка
  • Опубліковано 23 сер 2024

КОМЕНТАРІ • 72

  • @taskforce_kerim
    @taskforce_kerim 3 роки тому +8

    I like the transparency about Chrome being behind for once when it comes to faster rendering of previous pages when going back by saving them in memory.

  • @Fry981
    @Fry981 3 роки тому +72

    *sigh* if only there was a way to find out further information about these topics :-/

    • @daniyelme9535
      @daniyelme9535 3 роки тому +9

      I wish they have added it to the description ;)

    • @neryortez6835
      @neryortez6835 3 роки тому

      I wonder if they would be clickable

    • @BillyHarvey
      @BillyHarvey 3 роки тому

      We should call them litd for brevity!

    • @lukasseifert2228
      @lukasseifert2228 3 роки тому

      There are some links in the description

  • @ErikGullberg
    @ErikGullberg 3 роки тому +43

    Jake: Here are css properties that make text display the same on different browsers.
    also Jake: It's only supported in one browser.

    • @jakearchibald
      @jakearchibald 3 роки тому +8

      That was the joke 😀

    • @ErikGullberg
      @ErikGullberg 3 роки тому

      @@jakearchibald And a good one at that. I've never laughed so hard watching this channel. Keep it up!

    • @mustafwm
      @mustafwm 3 роки тому

      :\

  • @OwenCampbellMoore
    @OwenCampbellMoore 3 роки тому +1

    Wow! This is probably the most exciting video I’ve seen about web dev this year. Huge thanks to everyone that helped standardize and ship these new features!

  • @chiboymarcel527
    @chiboymarcel527 3 роки тому +4

    The portal concept is really awesome, I have been tinkering on how to give the mobile web a clean transition we have on native apps. And the best part is that it is only interactive when activated. Although the users getting some visible notification on the URL change when portals are activated will enhance the security in chrome.

  • @jakearchibald
    @jakearchibald 3 роки тому +19

    Clarification: The layout-shift-preventing benefits of f-mods only apply when you're using line-height "normal", whiiiich you probably aren't. The main benefit of f-mods right now is in controlling the metrics around the baseline. The layout-shift-preventing parts will be much more powerful when we can do something more with letter widths.

    • @omri9325
      @omri9325 3 роки тому

      Monospace all the fonts!

    • @qzbnyv
      @qzbnyv 3 роки тому +1

      Noooo @@omri9325 I bet you use Vim or Emacs and IRC is your preferred communication tool. ;)

    • @wheatley6544
      @wheatley6544 3 роки тому +2

      I read "Clarification" and immediately expected the text after to be something along the lines of "The further information mentioned in the video can be found behind the links in the description..."

    • @jakearchibald
      @jakearchibald 3 роки тому +2

      @@wheatley6544 hah I missed a trick there

  • @MarshallBrandt
    @MarshallBrandt 3 роки тому +18

    Portals seem really cool! Definitely a step towards a more native-like and smooth experience on the web

    • @LarsRyeJeppesen
      @LarsRyeJeppesen 3 роки тому +7

      ... for the people who haven't moved to SPAs

    • @victornpb
      @victornpb 3 роки тому +3

      They are like 2020 version of pop ups. You’re gonna browse random websites and floating portals will try to stay under your cursor.

    • @jadedtheredone
      @jadedtheredone 3 роки тому

      I hope this will also help using microservices on frontend level, allowing to use multiple frameworks on different components.

    • @Apolochon
      @Apolochon 3 роки тому

      @@jadedtheredone How many frameworks do you really need ?
      What's the points of all the effort to make the web more lightweight and efficient when devs' no.1 solution is to add stuff instead of fixing what they already have

    • @jadedtheredone
      @jadedtheredone 3 роки тому

      @@Apolochon the cause of my idea is actually for switching technologies, or collaborating with other parties. another team specialized with another type of framework can also develop other components on the same project without breaking integrity.this principle was actually introduced by using , yet it wasn't a nice solution. So maybe portal can help it.

  • @adityapoddar3798
    @adityapoddar3798 2 роки тому

    layout shift preventing awesome with f-mods. Thanks Chrome Dev Team. Great Work

  • @danielbocelli
    @danielbocelli 3 роки тому +5

    Jake is so entertaining to watch!

  • @dinoscheidt
    @dinoscheidt 3 роки тому +1

    Could listen to Jake all day. Also props to the Video Animation & Illustration peeps behind the scene. 🖌

    • @jakearchibald
      @jakearchibald 3 роки тому

      I am the animation and illustration peeps 😀 (aside from the intro and outro branded anims). All anims were done in the browser.

    • @dinoscheidt
      @dinoscheidt 3 роки тому

      @@jakearchibald 😅 time to share your dribbble account

  • @Netrole
    @Netrole 3 роки тому +4

    PSA: There are links in the description, these are to be clicked for further information.

  • @patricknelson
    @patricknelson 3 роки тому +3

    6:57 - Hah! Every time you said “I know what you’re thinking,” that’s exactly what I was thinking. 😆 While I do think portals can be helpful, I prefer anchor tags with direct href’s to the content I want to load. Hopefully people will use that pattern (e.g. so you can still middle click or right click open new tab, right click copy URL, etc) I hope it doesn’t result in the anti patterns of devs relying solely on JS (e.g. so you have lots of javascript:; in anchors or clickable elements that may not be natively clickable or focusable, etc) who are implementing these new portals. This is why I like service workers which work at the network level to help cache content ahead of time; albeit that’s a bit more complex to implement. If done right, portals can probably be an even easier way to accomplish a similar result while maintaining good fallback functionality (safe degradation).

    • @jakearchibald
      @jakearchibald 3 роки тому +1

      fwiw, portals will have a default click behaviour which activates the portal. You raise a good question about middle click though.

    • @jonsplex
      @jonsplex 3 роки тому

      It's simple enough to add a middle-click event listener for the time being. 🤷‍♂️

  • @dasten123
    @dasten123 3 роки тому +1

    I like how he is playing a Switch game with only one joy-con while giving this presentation. That's true skill.

    • @chinmayk8004
      @chinmayk8004 2 роки тому

      He's changing slides... He talks about this in his podcast HTTP203

    • @dasten123
      @dasten123 2 роки тому

      @@chinmayk8004 No my dude, you are mistaken.

  • @SylwesterKogowski
    @SylwesterKogowski 3 роки тому

    As far as portals go, it will probably a nice feature for injectable widgets. The problem with widgets that are injectable into some other page is that the other page may be full of animations and movies and if the widget is also heavy for the processor, then weaker phones will suddenly get extremely sluggish.
    If one could use such a portal to freeze the background page while the widget takes over the interaction, then it would really help.

  • @anticom1337
    @anticom1337 3 роки тому

    11:11 Am I the only one that thought for a split second Jake was using a Switch controller as presentation clicker? :D
    But seriously, I'm really excited, that portals are not dead!

  • @alainalvarez5876
    @alainalvarez5876 3 роки тому

    Amazing video!!! Where can I get the blue background of the presentation, I love it!!!!

  • @Y390R
    @Y390R 3 роки тому +1

    portals are mind-blowing

  • @marcusbrsp
    @marcusbrsp 3 роки тому

    Great stuff! But how on earth can I get further information on these topics?

  • @paulschreiber
    @paulschreiber 3 роки тому

    I like this guy.

  • @bramus
    @bramus 3 роки тому +2

    Where can I find links to pages with more information? 🙃

  • @ihateidiots9484
    @ihateidiots9484 3 роки тому +4

    Back to 90's...let's the browsers war begin and the frontend nightmare start!

  • @Krilllind
    @Krilllind 3 роки тому +1

    Not sure if I understood but you said something about the description?

  • @DenisTRUFFAUT
    @DenisTRUFFAUT 3 роки тому

    Portals are a good fit for MPA and SSR apps. On the other hand, PWA is still the holy grail for bandwidth saves (but needs more work)

    • @dassurma
      @dassurma 3 роки тому +3

      A MPA can be a PWA. They are not mutually exclusive.

  • @victornpb
    @victornpb 3 роки тому

    I saw the future of Portals. I think I’m gonna be the first developer to make a portal-blocker extension 😅.

    • @victornpb
      @victornpb 3 роки тому

      I know that feature is kind novel but I’m sure it’s going to be abused, by shopping websites, news blogs and ad networks.

    • @dassurma
      @dassurma 3 роки тому

      @@victornpb Can you elaborate how you envision that abuse to work? It’s a feature developed within the W3C, and everyone participating has privacy and security front of mind.

  • @rickvian
    @rickvian 3 роки тому

    I have question, the container intrinsic size HEIGHT is a fixed number, what if the container is responsive designed? do we put different intrinsic-size with media query?

    • @jakearchibald
      @jakearchibald 3 роки тому

      You can. You can also use other units like vw vh em etc

  • @VarunGupta3009
    @VarunGupta3009 3 роки тому

    I really love portals and have been using it since it was released in 85, but unfortunately, it has not made its way into stable yet :(

  • @ipsb
    @ipsb 3 роки тому +4

    He said chrome will save the previous page in "memory" it implies that chrome is now even more RAM hungry than never before😂
    Correct me if am wrong.

  • @enjikaka
    @enjikaka 3 роки тому +3

    I never manage to spell "intrinsic" correct. Can we change that to something writeable?

  • @phillussporrus
    @phillussporrus 3 роки тому

    I was playing around with content-visibility a bit and found that when scrolling to the bottom of the page so that areas further up the page get hidden again, the page would jump whenever the contain-intrinsic-size value didn't exactly match the area's height. Is there a way to prevent that?

    • @jakearchibald
      @jakearchibald 3 роки тому

      Does this happen in Canary too? Some bugs have been fixed. If not, can you create a public demo of the issue? I can file the bug for it.

  • @akashmilton
    @akashmilton 3 роки тому

    Does the content-visibility support list item? Like if I have 600 items in a list It loads only those in the viewport. IF so it will be those virtualized list/ react-window killer

    • @jakearchibald
      @jakearchibald 3 роки тому

      Yeah, it works with list items. It still loads all of the list items, but it won't have to perform layout on them.

    • @jakearchibald
      @jakearchibald 3 роки тому

      @@DennisJ42 right, but if your CSS selector is "li" then it's applying to all the list items.

  • @conelatilot
    @conelatilot 3 роки тому

    seen an unrelated talk about portals, sad that its still behind a flag

  • @YinonOved
    @YinonOved 3 роки тому

    epic ending 😹

  • @shubhidimri
    @shubhidimri 3 роки тому

    when you say chrome, does it also mean chromium?

  • @peterdenham
    @peterdenham 3 роки тому

    What are you using that switch controller for? 😂

  • @samundramanshrestha9190
    @samundramanshrestha9190 3 роки тому

    so much

  • @faheemahmadofficial7701
    @faheemahmadofficial7701 3 роки тому

    just give us better an dfaste PWA's and Flutter Web final version

  • @tonyng1126
    @tonyng1126 3 роки тому

    pagehide and pageshow are not new things, they have been there long time ago. SImiliar with prefetch and preload

  • @YahyaRahimov
    @YahyaRahimov 3 роки тому

    Beyond fast! And eats more RAM