Beyond fast with new performance features

  Рет қаралды 30,814

Chrome for Developers

Chrome for Developers

Күн бұрын

A whirlwind tour of new features and proposals to improve the performance of your pages.
Thank you for visiting this, the description! Here are some links to further information, that you can click with your finger, mouse pointer, or pen!
content-visibility:
web.dev article → goo.gle/3digQ8y
HTTP 203 episode → goo.gle/3pXaKR6
HTML spec demo → goo.gle/34QX5B1
Spec → goo.gle/371HLmh
F-mods:
Explainer & demos → goo.gle/2J0xH4J
Spec → goo.gle/370XDFP
BFCache:
Dos and don't → goo.gle/3mGTSfr
Portals:
Explainer → goo.gle/338db9B
The flags are #enable-portals, and #enable-portals-cross-origin
Misc:
Third party storage → goo.gle/2KxG88l
Preloading → goo.gle/2UYko7v
Quicklink → goo.gle/3mddrLK
Thanks in advance for clicking these links to further information found here in the description!
Speaker: Jake Archibald
Subscribe to Google Chrome Developers here → goo.gle/Chrome...
Watch all Chrome Developer Summit sessions here → goo.gle/cds20-...
#chromedevsummit #chrome #webvitals
event: Chrome Dev Summit 2020; re_ty: Publish; product: Chrome - General; fullname: Jake Archibald;

Пікірлер: 72
@Fry981
@Fry981 3 жыл бұрын
*sigh* if only there was a way to find out further information about these topics :-/
@daniyelme9535
@daniyelme9535 3 жыл бұрын
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
@taskforce_kerim
@taskforce_kerim 3 жыл бұрын
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.
@MarshallBrandt
@MarshallBrandt 3 жыл бұрын
Portals seem really cool! Definitely a step towards a more native-like and smooth experience on the web
@LarsRyeJeppesen
@LarsRyeJeppesen 3 жыл бұрын
... for the people who haven't moved to SPAs
@victornpb
@victornpb 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.
@OwenCampbellMoore
@OwenCampbellMoore 3 жыл бұрын
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!
@ErikGullberg
@ErikGullberg 3 жыл бұрын
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 жыл бұрын
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 жыл бұрын
:\
@chiboymarcel527
@chiboymarcel527 3 жыл бұрын
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.
@adityapoddar3798
@adityapoddar3798 2 жыл бұрын
layout shift preventing awesome with f-mods. Thanks Chrome Dev Team. Great Work
@jakearchibald
@jakearchibald 3 жыл бұрын
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 жыл бұрын
Noooo @@omri9325 I bet you use Vim or Emacs and IRC is your preferred communication tool. ;)
@wheatley6544
@wheatley6544 3 жыл бұрын
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 жыл бұрын
@@wheatley6544 hah I missed a trick there
@danielbocelli
@danielbocelli 3 жыл бұрын
Jake is so entertaining to watch!
@dinoscheidt
@dinoscheidt 3 жыл бұрын
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 жыл бұрын
PSA: There are links in the description, these are to be clicked for further information.
@patricknelson
@patricknelson 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 жыл бұрын
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. 🤷‍♂️
@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.
@Y390R
@Y390R 3 жыл бұрын
portals are mind-blowing
@nevinkuser9892
@nevinkuser9892 3 жыл бұрын
Woah dude.
@dasten123
@dasten123 3 жыл бұрын
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.
@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!
@jakearchibald
@jakearchibald 3 жыл бұрын
I am 😀
@alainalvarez5876
@alainalvarez5876 3 жыл бұрын
Amazing video!!! Where can I get the blue background of the presentation, I love it!!!!
@paulschreiber
@paulschreiber 3 жыл бұрын
I like this guy.
@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 жыл бұрын
A MPA can be a PWA. They are not mutually exclusive.
@ihateidiots9484
@ihateidiots9484 3 жыл бұрын
Back to 90's...let's the browsers war begin and the frontend nightmare start!
@bramus
@bramus 3 жыл бұрын
Where can I find links to pages with more information? 🙃
@Krilllind
@Krilllind 3 жыл бұрын
Not sure if I understood but you said something about the description?
@marcusbrsp
@marcusbrsp 3 жыл бұрын
Great stuff! But how on earth can I get further information on these topics?
@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.
@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 :(
@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
@enjikaka
@enjikaka 3 жыл бұрын
I never manage to spell "intrinsic" correct. Can we change that to something writeable?
@ipsb
@ipsb 3 жыл бұрын
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.
@anuraghazra4772
@anuraghazra4772 3 жыл бұрын
damn you are probably correct. lol
@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.
@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.
@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?
@jakearchibald
@jakearchibald 3 жыл бұрын
Yep!
@samundramanshrestha9190
@samundramanshrestha9190 3 жыл бұрын
so much
@faheemahmadofficial7701
@faheemahmadofficial7701 3 жыл бұрын
just give us better an dfaste PWA's and Flutter Web final version
@peterdenham
@peterdenham 3 жыл бұрын
What are you using that switch controller for? 😂
@jakearchibald
@jakearchibald 3 жыл бұрын
To change slides
@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
Sign-up form best practices
13:31
Chrome for Developers
Рет қаралды 30 М.
A deep dive into optimizing LCP
29:15
Chrome for Developers
Рет қаралды 96 М.
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 33 МЛН
10 modern layouts in 1 line of CSS
21:39
Chrome for Developers
Рет қаралды 1,1 МЛН
Optimize for Core Web Vitals
38:03
Chrome for Developers
Рет қаралды 159 М.
API vs. SDK: What's the difference?
9:21
IBM Technology
Рет қаралды 1,4 МЛН
Sign-in form best practice
20:20
Chrome for Developers
Рет қаралды 111 М.
Image compression deep-dive
31:32
Chrome for Developers
Рет қаралды 53 М.
Superpowers for next gen web apps: Machine learning
29:19
Chrome for Developers
Рет қаралды 84 М.
Optimize for interactivity using Web Vitals (FID/TBT)
24:36
Chrome for Developers
Рет қаралды 19 М.
Payment and address form best practices
20:16
Chrome for Developers
Рет қаралды 12 М.
Instant Loading: Building offline-first Progressive Web Apps - Google I/O 2016
46:14