Front End Center
Front End Center
  • Видео 8
  • Просмотров 309 646
Front End Center — Caching & CDNs
Last time out we were looking at how latency puts an upper limit on the performance of your site, and just how important it is to be hosting your content near your users. This time we go a step further: talking about the techniques and tradeoffs for highly cache-optimised sites, from content-addressable storage to federating your content across a CDN so requests don't even reach your server.
With just a few judicious build-time choices and deploy-time hooks, you too can have the fastest static site the web can offer.
The first part of this series on Latency is available on RUclips as well: ruclips.net/video/ak4EZQB4Ylg/видео.html
Thanks to Lookahead Search for making this episode available! ...
Просмотров: 22 296

Видео

Front End Center - Why Latency Matters: Foundations of Web PerformanceFront End Center - Why Latency Matters: Foundations of Web Performance
Front End Center - Why Latency Matters: Foundations of Web Performance
Просмотров 6 тыс.7 лет назад
Depending on where you live and the devices you use, high-latency internet access might be a totally foreign concept or an everyday reality, so in this episode we look at some concrete numbers to get a sense of just how much it can change someone's experience. We'll also look at the TCP design decisions that cause connections to "slow start" & why that makes it worth considering adding a CDN to...
Front End Center - Crafting Webfont FallbacksFront End Center - Crafting Webfont Fallbacks
Front End Center - Crafting Webfont Fallbacks
Просмотров 11 тыс.7 лет назад
Webfonts are a tricky thing to get right - the usual formula is: attractive visuals, good performance & reliable functionality (pick two). In this episode, see how you can get all three by properly employing a finely-tuned fallback. Thanks to Lookahead Search www.lookahead.com.au for making this episode available! Front End Center is a premium screencast series on all aspects of front-end web d...
Front End Center - Single Responsibility Components: Object-Oriented Design in ReactFront End Center - Single Responsibility Components: Object-Oriented Design in React
Front End Center - Single Responsibility Components: Object-Oriented Design in React
Просмотров 17 тыс.7 лет назад
The Functional Programming (FP) aspects of React are fairly prominent, but components themselves are an example of Object-Oriented (OO) programming. In this episode, we'll look at how one idea from OO-The Single Responsibility Principle-can help us design and extract more readable, reusable, and maintainable React components. Thanks to Lookahead Search www.lookahead.com.au for making this episo...
Front End Center - Image CDNs to the RescueFront End Center - Image CDNs to the Rescue
Front End Center - Image CDNs to the Rescue
Просмотров 23 тыс.7 лет назад
Responsive imagery is one of those topics that seems way more complicated than it aught to be. It’s the sort of problem that confronts virtually every website out there-every site has images-and yet the approaches offered by HTML alone aren't sufficient. In this episode we'll look at how using a dedicated Image CDN can simplify your markup, enable pixel-perfection regardless of device, use the ...
Front End Center - Why Inline SVG is Best SVGFront End Center - Why Inline SVG is Best SVG
Front End Center - Why Inline SVG is Best SVG
Просмотров 137 тыс.7 лет назад
SVG is one of the most powerful tools in a front-end developer's arsenal, and while its browser support is excellent, there's enough rough edges that a lot of people consistently reach for an alternative such as icon fonts, static images or CSS-only drawing techniques. In this episode we'll look at what can be achieved by writing SVG by hand, simple effects that can add a lot to an interaction ...
Front End Center - Current Color: The First CSS VariableFront End Center - Current Color: The First CSS Variable
Front End Center - Current Color: The First CSS Variable
Просмотров 14 тыс.8 лет назад
The currentColor keyword is one of the most powerful yet under-utilised feature of CSS. Let's dive into it. We'll talk about the core CSS concepts that underpin it, what currentColor the keyword actually means, then build up a demo using a bunch of related CSS techniques. Finally, we'll look at the CSS Variables spec and what it means for the future of the web. Like this video? Sign up for more...
Front End Center - Webpack from First PrinciplesFront End Center - Webpack from First Principles
Front End Center - Webpack from First Principles
Просмотров 78 тыс.8 лет назад
Webpack often gets a bad rap in the front end community - plenty of digital ink has been spilled over whether web development is "too complicated", with Webpack taking center stage. But in reality, it's no more complex than the sites we're building with it, and conceptually its role is quite clear. Let's demystify the tool by stripping it back to what it truly is - an ahead-of-time compiler for...

Комментарии

  • @feduc_doc
    @feduc_doc 27 дней назад

    everything that is demonstrated in this video is a gross violation of the principle YAGNY

  • @realdaly
    @realdaly 5 месяцев назад

    I can't believe this tutorial is 7 years old!

  • @pradipspeaks9395
    @pradipspeaks9395 6 месяцев назад

    Very nice ❤ If I have a svg file (a.svg) how can I easily, without any overhead, can translate to an inline svg in my React js ?

  • @LaEsenciadeRespirar...
    @LaEsenciadeRespirar... 8 месяцев назад

    You are the best

  • @user-ux7lg8jm6p
    @user-ux7lg8jm6p Год назад

    Where you got to know about that person

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

    Why did you stop making videos? Very good content

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

    Underrated channel, though I'm not a front end dev, I'm a performance test engineer

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

      But the decreased download speed is not because of increased latency, it's probably a result of significant packet loss, no?

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

    How to prevent malicious user crafting urls with unique sizes, forcing my CDN to create a lot of images in different sizes?

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

    This is the typical youtube channel you don't want to have stopped

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

    Gratitude for finding this, it's really an art to convey the purpose behind the information being conveyed. ❤ from Chennai 🇮🇳

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

    I would pay for you to restart uploading videos. This is what I strive to create. I think you're the best

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

    Funny enough, I find that CloudFlare doubles my service latency vs. a Vultr VPS, no matter where that VPS is (as long as it's on the same continent). With HTTP/3 there is zero round trip initialization, so it may greatly improve the usefulness of distant HTTP servers.

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

    I found out about currentColor today, and I've used it in embedded SVGs to inherit the dark mode theme colors with color-scheme: light dark and the same stylesheet (or lack thereof) as the main content. Very slick. Needless to say this was also the day I learned you could run media queries in embedded SVGs (i.e. in img and background-image).

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

    Why draw 2 identical lines, when all your doing is changing the css?

  • @Naz-yi9bs
    @Naz-yi9bs 2 года назад

    Wow I wish you made a tutorial on how to go from newb to pro in SVG... you're teaching style is amazing.

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

    please don't stop making videos. Your videos are gem, those who have eyes can see it. Don't care about the views. Your videos are timeless. Please do more🙏🙏

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

    Senior work. Thanks for teaching.

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

    That is one of the best explanation I have seen so far. Thank you, so much, for putting it together. Here it is 2022 and so much has been changed, is there any chance you will update this? If anyone knows of any current sources that explains this, please share.

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

    One of the most underrated channels I've ever seen

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

    This is simply amazing, not the CDN but how you explained it.

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

    This guy literally invented styled-components!! Such high quality content, would be great to see more of it! I notice he hasn't uploaded in a few years?

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

    would be interesting to see more usage of inline SVG in frameworks like react. Anyone know of a good npm package that helps with using svg in react?

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

    Great asset, instant subscriber!

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

    How are you able to show output at the same time you write css without having to save ?

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

    Awesome content

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

    4:01 benefits of inline svg💚

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

    Best video I've found so far on the subject ! thank you man !

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

    This just blows my mind! It makes me realise how superficially I know about SVG. Great Video 👌

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

    What a power Inline SVG has got! Thanks for sharing. 👍😃

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

    Hi, Glen, I'm wanting to create a fansite for the web series, Chrontendo. As a part of that, I'd like to use web standards to recreate his wordmark/logo. He uses Georgia Pro Bold with some simple text shadows, which are simple enough to replicate. I've been stuck for over half a year now on the fact that he uses what Adobe Illustrator would call an 'Envelope Distort' effect on the text. I re-created the effect as a baked SVG image last year, but would love to have this be dynamic on the site so that if someone translates the page, the logo is translated along with the rest of the page with the 'fisheye lens' effect intact. If you could illustrate how to do this, I would be most grateful. Please contact me if I can pay you for a solution to this challenge.

  • @user-nv1cs5vd3j
    @user-nv1cs5vd3j 3 года назад

    fuck my brain

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

    I know you haven't posted in 3 years, but from the bottom of my heart THANK YOU!

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

    Great video

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

    thanks...was looking for this

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

    Amazing work man !!

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

    Getting super confused by what you say at 11:10. When you say, "look at the width of each image and determine the URL to fetch", are you referring to the actual image from Unsplash or the div in which the image goes into?

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

      He's referring to the width of the image after it is resized by the specific circumstances of the browser. So not the actual image: the size of the image after being (possibly) being squeezed into the div.

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

    4 years later and i still come back to this video

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

    At 16:14, why do you move the svg to below the input and later set an order:-1 to show the svg ahead of the input again? why not just leave it ahead the input in the first place?

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

    This is awsome. Thank you!

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

    please create more svg videos...

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

    thank you for this... I love it...

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

    this code does not work for css stylesheets calling an image from a cdn

  • @RahulSingh-rk5dz
    @RahulSingh-rk5dz 3 года назад

    Your sir are a master!

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

    How is this done in WordPress?

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

    Awesome well explained

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

    Wow ❤️ awesome explanation!

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

    great video.. u deserve a million subscribers for your teaching style. soon u will hit that number

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

    Pushing Pixels until it works^TM!!

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

    God damn I am so glad I clicked this. I have consumed many articles and videos on web development since I started learning 2 months ago, but this was the best by far. I am finally able to wrap my head around so many things which were confusing about SVG before.

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

    just insane dude !!!!!!