CDN Caching, Static Site Generation, and Server Side Rendering

  Рет қаралды 37,439

Remix

Remix

Күн бұрын

Пікірлер: 53
@AnthonyCandaele
@AnthonyCandaele 4 жыл бұрын
This must be the best explanation of SSG and SSR I have ever heard.
@bomjism
@bomjism Ай бұрын
Oh wow, it's probably one of the most useful videos ever recommended to me by the youtube algorithm.
@simonswiss
@simonswiss 3 жыл бұрын
This was a fantastic explanation! My understanding of how this works was very "vague", and I now have a solid understanding, thank you!
@PeterWhite-j1w
@PeterWhite-j1w Жыл бұрын
Wow, best presentation I've seen on any topic in a minute. Great job Ryan
@SachinBhatt-hw9vc
@SachinBhatt-hw9vc Жыл бұрын
Unbelievably insightful! I cannot imagine how dumb I could be for many years working on Web and did not take a moment to fully understand the nuts and bolts of how things work in it! I am really glad that I watched this video the 2nd time now after nearly 4 months when I first watched it and missed to pay attention to the caching stuff. Thanks So So Much brother @RyanFlorence for this wonderful in-depth session.
@helmisatria
@helmisatria 2 жыл бұрын
OMG this is the best explanation about Caching, SSG and SSR, thank you!
@BolatbekYeraliyev
@BolatbekYeraliyev 8 ай бұрын
no single comment about texture of his shirt and video compression?))) thank you Ryan for recording this video. amazin presentation and lots of stuff to learn about
@gonzaloespeche1499
@gonzaloespeche1499 4 жыл бұрын
I finally understood SSG and SSR in depth, thanks! And btw, I enjoyed watching the whole video. Concepts are explained in a fresh and friendly way. Cheers!
@oncelearner
@oncelearner 4 жыл бұрын
Nice One ! I REALLY LOVED THE WAY YOU USED EMOJIS TO EXPLAIN THINGS
@zyishai
@zyishai 2 жыл бұрын
This is the most clear explanation I've ever heard for this topic! Thank you so much, I finally understand what all these terms mean!
@amadeomoranguerrero5031
@amadeomoranguerrero5031 Жыл бұрын
Awesome men! All your videos has an extraordinary cleaver and simple way to explain things!! Fantastic!! 🙂, Cheers!
@naruto5437
@naruto5437 4 жыл бұрын
one of best video on internet for web dev
@AnthonyInSanDiego
@AnthonyInSanDiego 4 жыл бұрын
gosh you're a such an expert! I really appreciate this presentation
@ortatherox
@ortatherox 4 жыл бұрын
This is a video does a great job explaining a tough concept - good job
@floroz87
@floroz87 4 жыл бұрын
Amazing job Ryan, well explained.
@Peter-sz8gx
@Peter-sz8gx 2 жыл бұрын
This is a very interesting approach. I like it!
@shauryavardhan33
@shauryavardhan33 4 жыл бұрын
Amazing content, cleared all my doubts regarding cache. Looking forward to more videos.
@woodbrettm
@woodbrettm 3 жыл бұрын
You should post more vids like this! Was super helpful.
@MaxiZipitria
@MaxiZipitria 3 жыл бұрын
This video is pure gold
@saurabh75prakash
@saurabh75prakash 2 жыл бұрын
Awesome tutorial and introduction 🙏
@Alcani3ca
@Alcani3ca Жыл бұрын
Man, this is awesome content right there
@tomino133
@tomino133 3 жыл бұрын
Great explanation Ryan. Thank you.
@kieranosgood3297
@kieranosgood3297 4 жыл бұрын
This stuff, is dayymn cool. Excited!
@immer5680
@immer5680 2 жыл бұрын
You have a talent for teaching
@GiovanniAntonaccio
@GiovanniAntonaccio 2 жыл бұрын
What an amazing explanation!
@ginger-viking
@ginger-viking Жыл бұрын
Thanks for a great video
@ameerkabir
@ameerkabir 2 жыл бұрын
Great video, love it
@christophercampos2284
@christophercampos2284 Жыл бұрын
Great Explanation!! One Question…, how we can make on demand revalidation like NextJS, for example if I have a CMS and u want make a request to remix app for revalidare the post in demand. How u Can doing this?
@lorieldesamito3998
@lorieldesamito3998 2 жыл бұрын
Great Explanatiiiiiiiiiiioooonnnnnn!!!!!!!!
@danielkelly2585
@danielkelly2585 4 жыл бұрын
This is excellent!
@scaz182
@scaz182 2 жыл бұрын
This was a really good comparison, thanks. Would love to see a video talking about how to handle personalisation / authenticated states and caching in Remix as I've always found it unrealistic to cache entire HTML pages as they almost always have a significant portion of bespoke content for a single user (product recommendations, feed, logged in states etc.). Years ago, I remember MVC frameworks allowing you to cache specific components (partials?), I wonder if Remix has support for this? I even recall CDNs supporting partial stitching but don't know much about it / how it'd work with React.
@JoepKockelkorn
@JoepKockelkorn 2 жыл бұрын
You can always cache at a lower level, like use Redis and cache a user's or shared content. I think the more dynamic a page is, the more complex caching becomes.
@scaz182
@scaz182 Жыл бұрын
@@JoepKockelkorn yeah, I've come around to thinking you will just have to take the hit on rendering (both in Remix and Next), but you can cache expensive API / DB calls in redis as you suggest. Cloudflare Workers has a really powerful caches API to cache data near the user.
@luischodiman7189
@luischodiman7189 3 жыл бұрын
Hi, do you have the example project showed at the end on a repo? I'd love to have a look at the source code
@ponssuarez
@ponssuarez 2 жыл бұрын
When Ryan said "I'm not good ay Math" hahaha. "Same same"
@c3011-z4c
@c3011-z4c 2 жыл бұрын
Is this still valid for latest versions of Remix? I ask because by looking at the folders structure and file names, a lot changed, right?
@timonweb_com
@timonweb_com 4 жыл бұрын
Hey, thanks a lot for this video. I have a question, why there's no comma between s-maxage and stale-while-revalidate? You have: "s-maxage=604800 stale-while-revalidate=3154000000". Is it a trick to make "stale-while-revalidate" a CDN only and force browser to ignore it, or is just a typo?
@wolverineks
@wolverineks 4 жыл бұрын
can the browser get the stale version from the cdn and request a fresh copy at the same time? then replace the stale version once it arrives? the cdn could check with origin to see if the copy it already has is still fresh?
@theghostyced
@theghostyced 2 жыл бұрын
This explaination was amazing. I tried implementing the ISR with next but got some errors while deploying with AWS as ISR isnt supported yet, this would be a nice backup instead.
@youknowwho4994
@youknowwho4994 Жыл бұрын
Remix is fantastic. End of the story
@joshdeltener2012
@joshdeltener2012 4 жыл бұрын
This also assumes CDNs will keep assets in their CDN for a year.. They won't :). Many (if not all) CDNs only serve the most used assets so they can keep their storage costs down.
@ytadi9229
@ytadi9229 4 жыл бұрын
I did had this idea of uploading SSR generated code to CDN but backed down when I thought about cache bust not possible with HTML files. Atleast the main one index.html.
@danwilloughby2088
@danwilloughby2088 3 жыл бұрын
But the donuts are half-off at the end of the day :) 27:24
@xDavidhjx
@xDavidhjx 2 жыл бұрын
Major CDNs (akamai is my experience) normally charge money for purging caches, so if you are a startup tight on money or have a hobby project it might not be ideal for you to automate it if your pages are dynamic.
@paulbennetjoshua
@paulbennetjoshua 4 жыл бұрын
I think we can request Chrome Dev tools people to render the cache header values more readable
@ThuanNguyen-kd1yh
@ThuanNguyen-kd1yh 3 жыл бұрын
Hello, thanks for a great video, I have a question In part 1 - kzbin.info/www/bejne/aYnOhpJ6jciaopI, when set the header for the "cache-control" in the code, will it work for all CDN? For example, using CloudFront or CloudFlare CDN. I mean, the "cache-control" set from the code will be received by the CDN and delivered to the browser with the same "cache-control". Looking forward to receiving support. Thanks!
@tech3425
@tech3425 Жыл бұрын
"Dora the explorer for web developers" xDDD
@musaddikrayat
@musaddikrayat 2 жыл бұрын
86400 is a day :3
@joshdeltener2012
@joshdeltener2012 4 жыл бұрын
SSR .. "kinda slow".. I don't think 162-250ms is kinda slow for Nuxt :)
@tech3425
@tech3425 Жыл бұрын
You could have made it a shorter video
Remix Run - Introduction to HTTP Caching
17:54
Remix
Рет қаралды 25 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 362 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Do you REALLY need SSR?
18:15
Theo - t3․gg
Рет қаралды 185 М.
Searching IndexedDB in Remix
18:22
Remix
Рет қаралды 9 М.
How GitHub's Database Self-Destructed in 43 Seconds
12:04
Kevin Fang
Рет қаралды 1 МЛН
Reflecting on React Server Components
26:33
Theo - t3․gg
Рет қаралды 46 М.
Rich Harris - Rethinking reactivity
36:45
You Gotta Love Frontend
Рет қаралды 323 М.
Angular 17 SSR - Angular Server Side Rendering in a New Way
13:54
Monsterlessons Academy
Рет қаралды 37 М.
Caching Data in Memory with Remix Client Loaders
9:15
Remix
Рет қаралды 11 М.
10 Signs Your Software Project Is Heading For FAILURE
17:59
Continuous Delivery
Рет қаралды 44 М.
Когда перепутал график девушек😁🐣
0:24
Alexey Merinov
Рет қаралды 3,1 МЛН
ЛАЙФХАК НА КУХНЕ ! 🧐🤦🏻‍♂️ #shorts #лайфхак
0:15
Крус Костилио
Рет қаралды 109 М.
ТЕЛЕФОН МЕНЯЕТ ЦВЕТ😅 #upx
0:34
RanF
Рет қаралды 639 М.
Это лютый угар 🤣 | приколы Арсен Симонян
0:14
Арсен Симонян
Рет қаралды 294 М.