WTF Do These Even Mean

  Рет қаралды 76,117

Web Dev Simplified

Web Dev Simplified

Күн бұрын

React Simplified Course: reactsimplified.com/?...
There are so many acronyms when dealing with rendering and they all sound so similar. It is tough to know what each acronym means and which is the best option for you. That is why in this video I will be breaking down exactly what each acronym is, the pros/cons of each, and what applications they are best used for.
📚 Materials/References:
React Simplified Course: reactsimplified.com/?...
React Job Board (CSR Example): react-simplified-job-board.ne...
My Blog (SSG Example): blog.webdevsimplified.com/
🌎 Find Me Here:
My Blog: blog.webdevsimplified.com
My Courses: courses.webdevsimplified.com
Patreon: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
00:33 - Definitions
01:05 - How Websites Work
03:45 - CSR
05:17 - SSR
06:42 - SSG
09:05 - ISR
12:04 - Comparison
#CSRvsSSR #WDS #SSGvsISR

Пікірлер: 111
@nid30
@nid30 7 ай бұрын
Much awaited topic covered from my favorite educator!! Penned down every single word that you explained... This really helps when referencing and revising the topics. And not to forget, Kyle you explained the concept of Hydration so beautifully and concisely, sharp on point. Heartfelt appreciation for your efforts...!!🙌🙌🙏🙏
@theisoj
@theisoj 7 ай бұрын
You explained this really well! Thanks Kyle as always! 👍👍
@JominJose
@JominJose 7 ай бұрын
One of the most overlooked topics in web dev. Thank you for making it so simple and clear!
@carlosmspk
@carlosmspk 6 ай бұрын
I would deeply disagree, most people in the industry begin by discussing this, and it's the first dev step of any new product Maybe you meant to say it's overlooked by people learning/teaching web dev?
@JominJose
@JominJose 6 ай бұрын
@@carlosmspkYes, that's what I meant
@venkat.sairam
@venkat.sairam 7 ай бұрын
🎯 Key Takeaways for quick navigation: 00:13 📚 *In this video, the presenter explains the meanings of acronyms like SSR, CSR, SSG, and ISR, as well as their differences and use cases in web development.* 02:08 🖥️ *Server-Side Rendering (SSR) involves minimal build time, with most work happening on the server. It's suitable for traditional server-rendered applications.* 04:02 💻 *Client-Side Rendering (CSR) sends HTML and JavaScript to the client, with all rendering happening on the client side. Common in React applications.* 06:50 📦 *Static Site Generation (SSG) builds all HTML pages at build time, resulting in fast load times. Ideal for static content websites.* 09:22 🔄 *Incremental Static Regeneration (ISR) combines benefits of SSG and SSR. It generates some pages at build time and others on-demand, useful for dynamic content with shorter build times.* 11:54 🌐 *The choice between these approaches depends on where you want to allocate the most time and workload: client, server, or a balance between them, based on your project's needs.* Made with HARPA AI
@saralightbourne
@saralightbourne 7 ай бұрын
😰😰😰
@69k_gold
@69k_gold 18 күн бұрын
Most important things one needs to know are: Client is just the browser Server is a computer that serves HTML, CSS, and JS files to the browser(a server can do a lot more, but we are talking about web server) Browsers were designed to run HTML, CSS and JS code, which were intended as a way to beautify the website But people realised the power of JS in this, so now we got JS-based apps in CSR, where JS does everything you need in the application, and only requesting business data(basically the data they can't store in your PC because it's valuable and/or large data) But then, people realised that this doesn't benefit clients who have their PC cooking up the room with all the JS it's running, so they made it so that the entire logic is handled in the web server itself, and what we get in the end is just enough markup, styles and code to present the website, and everything else related to the application is done by the server And anything else is clever techniques in between these two
@MrHellmager
@MrHellmager 7 ай бұрын
This honestly been in the back of my mind for weeks. Thank you for addressing this topic.
@youngcoding5055
@youngcoding5055 7 ай бұрын
You make everything look easy! Thanks bro!
@ff-mj2fv
@ff-mj2fv 7 ай бұрын
Please keep on posting top notch videos and i especially like your shorts 🔥
@systematicpsychologic7321
@systematicpsychologic7321 7 ай бұрын
I just wanted to say I watch all your vids and you're great for all things web dev. Thanks a ton for the effort, I keep picking up new tricks for you.
@pxkqd
@pxkqd 7 ай бұрын
Which one to use depends on the use case. SSR works for everything, but has the most downsides. SSG is good for docs and other non dynamic content that doesn't grow a lot. ISR is the best for websites. CSR is best for apps.
@ansh_mittal
@ansh_mittal 7 ай бұрын
One day I saw this channel and now I am very confident in web dev thanks dude ❤❤❤🎉
@morraez4772
@morraez4772 7 ай бұрын
This is a really goos explaination. would you consider doing a part 2 giving some code example for each type?
@atmanatos7165
@atmanatos7165 7 ай бұрын
Hi Kyle. Been a while since your last comprehensive MySQL course. Please do a fully comprehensive one that touches the advanced levels.
@somethingwine
@somethingwine 3 күн бұрын
I accidentally clicked this video and really enjoyed it! Love how you explain things so clearly! I am a complete beginner so some of the terms are still a lil abstract for me; but overall I find it very informative and will definitely come back to this again when I learn more about web dev! Thank you!
@karimbouche3563
@karimbouche3563 7 ай бұрын
Thank you kyle ,excellent video ,i like your content
@nikhilsinha2191
@nikhilsinha2191 7 ай бұрын
thanks for the info you really were helpfull I will go with ssr for my blogs as it will contain content of more than 1 user and needs seo as well which I will handle from my backend django admin server
@aqibmalik6313
@aqibmalik6313 7 ай бұрын
by the way I love your work. I have great admiration for you. Keep up the good work. ❤❤❤
@ExtraTurtle
@ExtraTurtle 3 ай бұрын
You mentioned SSG can be complicated when you have a site like ecommerce, and it has tons of products. But usually, products are stored in the DB, and you only have one page that shows product details I assume SSG doesn't fetch all items from the DB and generate a static page for each product? or am I wrong?
@user-cq3wm2lu8u
@user-cq3wm2lu8u 7 ай бұрын
dude great video
@yoavmelamed1522
@yoavmelamed1522 6 ай бұрын
Thank you for the video! What would you use for building an admin dashboard app (for example: CRM app or something like that) CSR or SSR? why?
@incarnateTheGreat
@incarnateTheGreat 7 ай бұрын
Good points all around. I generally stick with SSR, which is what Next.js has out of the box. That said, with React Server Components now available, we can go about dynamic data calls that can be made safely via the server. The only issue is, re-hydrating takes a bit of wizardry. Once that is sorted, I feel like I would stick with that approach: let the server do the heavy-lifting.
@AkashhGuptaa
@AkashhGuptaa 6 ай бұрын
What's the issue with re hydration explain a bit more brother
@prographics2788
@prographics2788 7 ай бұрын
hey kyle, when will your next.js course be released ?
@TheTrainWatch
@TheTrainWatch 6 ай бұрын
I’m not sure it is fair to show all the bars as the exact same size. SSR can eliminate round trip network calls that happen with CSR
@DamirSecki
@DamirSecki 7 ай бұрын
I think thios is very deceiving... all of the methods should be hybrid... I wish you would mention, the first load is SSR or CSR or SSG, etc... after it is streamed to the client... they can become (and more often than not) a normal SPA, where the bits are then hydrated asyncronously.... especially when you mentioned CSR... and that the server is not doing almost any work... that is obviously very false... or deceiving... the server does not do anyt work to serve initial html and js... but does plenty of work to fetch the data via API (or other protocols)... also for SSG this is the case... ASTRO pages are not just static pages and can be hybrid - the beauty is the super fast FIRST load... but then if you want your page to be interractive and get fresh data asybc load, it can be done... hence the island architecture...
@cherubin7th
@cherubin7th 7 ай бұрын
CSR is best for free and open source stuff because of money constrains.
@repairstudio4940
@repairstudio4940 7 ай бұрын
Too bad most suffer from CRS and will never remember CSR or any of this. 😂
@akshaygadekar3089
@akshaygadekar3089 6 ай бұрын
There is also 'on-demand static regeneration'
@firstname4337
@firstname4337 6 ай бұрын
CCR - creedence clearwater revival
@mme725
@mme725 7 ай бұрын
You know, I knew this should have been javascript related. However I still for some reason couldn't get what CSR was outside of that thing I used to generate to get an SSL certs for clients.
@shgysk8zer0
@shgysk8zer0 6 ай бұрын
I mostly do some combination of SSG with selectively CSRed components. I think web components/custom elements are pretty awesome there since they don't rely on some JS framework or routing or state or anything, so it's less expensive to mix the two strategies (had I built them with React, well... if I'm loading the whole framework, why not just build a React site?)
@avertry9529
@avertry9529 7 ай бұрын
Thanks, please do SolidJS tutorial
@robinparadise
@robinparadise 7 ай бұрын
Actually you can reduce the build time of SSG a lot not using a lot of dependencies on Astro or Hugo... There are a lot of SSGs that can build thousands of pages in less that a second (Hugo specially do that 💀)
@CodingPuff
@CodingPuff 7 ай бұрын
Looking at your summary graph it’s almost as if we are going back to the old way progressively😂
@user-mj1uo5mc1x
@user-mj1uo5mc1x 2 ай бұрын
Do you have a video of how to implement SSR step by step? I haven’t been able to get SSR to work with react.
@fordycegozali241
@fordycegozali241 7 ай бұрын
If I have a news portal that is built using React and I have about 10 articles per day, is it still recommended to use SSR for better SEO?
@FunctionGermany
@FunctionGermany 7 ай бұрын
mostly correct, but i have a few gripes: SSR and static files is how the web started and people already wrote their own SSG systems back then. what's new about next.js's SSR is the hydration where you essentially have SSR and CSR, so the "best experience" but also the highest amount of work with server and client combined. and now we have server components where we can choose to not hydrate some components and reduce CSR. another big advantage of SSG or SSR are link previews on social media and messengers. and finally, these strategies are often mixed. for example, you can SSR the SEO and link preview relevant parts but then use CSR only for the rest of your website. or you can use SSG with (next without server components) or without (astro) CSR. or selective CSR with astro. so in reality most projects are more complicated than this, especially if the dev doesn't know what they're doing 😂
@ahmedahmedx9600
@ahmedahmedx9600 7 ай бұрын
Hi webdevsimplified, please i have a request, can you make a video and show some tips and tricks to make the website fully responsive with all screens ? Thank you very much for your content !
@Manish___Choudhary
@Manish___Choudhary 2 ай бұрын
Which will be best for an e-commerce website?
@ZainRamzan-pt8cm
@ZainRamzan-pt8cm 7 ай бұрын
@WebDevSimplified can you make a video on SSR , SSG, ISR using the next 14
@SLRModShop
@SLRModShop 7 ай бұрын
It's easy, SSR is Screen Space Reflection, I clearly don't need this video, I'm just going to watch it for entertainment purposes 😁
@sicfxmusic
@sicfxmusic 7 ай бұрын
When artists' jobs are in jeopardy and now they're forced to learn programming.😅
@g_pazzini
@g_pazzini 7 ай бұрын
dude
@user-ge1sq3nx1z
@user-ge1sq3nx1z 7 ай бұрын
your an inspiration to us all…
@motabhai8767
@motabhai8767 6 ай бұрын
so you never used CSR. so only php till now ?
@saputrauta09
@saputrauta09 4 ай бұрын
Thankyou!
@bobkazamakis5169
@bobkazamakis5169 3 ай бұрын
great job
@SERGIVILAORIOL
@SERGIVILAORIOL 16 күн бұрын
How would the graph Client / Server / Build be if the environment we were talking was virtual reality videogames or to make it less specific multiplayer videogames, how would the graph be for SSR and CSR, clearly similar, but would the build be change for another part of the system. If so could someone show me please or explain it? Thanks
@cameronadams4366
@cameronadams4366 3 ай бұрын
Correct me if i am wrong : the build process happens ONCE, after any new codes changes, by the HOSTING platform (Vercel, Netlify etc) ?
@kueifengtung2693
@kueifengtung2693 6 ай бұрын
So for spring And spring boot, which type is it? Ssr?
@sae11
@sae11 7 ай бұрын
How about React Server Components (RSC)?
@devrajparida828
@devrajparida828 7 ай бұрын
Does ISR works well with SEO?
@alivenumber5
@alivenumber5 5 ай бұрын
Minimize the amount of work done on the client. Minimize the amount of work done on the server during route handling and general GET requests. But during either the build step or application back-end startup you cache everything you can in-memory. And what you can't fit in memory you save as pre-cached html on disk. This is the way.
@smooticus1691
@smooticus1691 7 ай бұрын
One question, wouldn’t a CSR website have cheaper server costs than a SSR website? If so, is it by a significant amount?
@keithjohnson6510
@keithjohnson6510 7 ай бұрын
Yes, especially when the site has lots of dynamic content. There is currently lots of hype about all variants of SSR, and with all this hype developers have forgotten about the benefits of CSR, very stange. It's never been a better time to develop with CSR, so it's not something I'm moving away from any time soon.
@VioNectro
@VioNectro 7 ай бұрын
If your clients can’t render your page with csr in todays age then there is a serious issue with your page.
@IvanRandomDude
@IvanRandomDude 7 ай бұрын
Yes, in principle. However, CSR sites can have huge problem with waterfalls (especially if you are not careful how you fetch the data) which can lead to spikes on the server and degraded performance. None of these rendering strategies are silver bullets and have their pros and cons. That's why most modern frameworks allow you to use all of them inside the same application and decide per page basis how is your page going to be rendered. So one page can be prerendered and served as static content, other page might use SSR while some other page can be pure CSR.
@keithjohnson6510
@keithjohnson6510 7 ай бұрын
@@IvanRandomDude "However, CSR sites can have", the main point here is `can have`, SSR can have issues if badly written. But based on what the poster asked about server costs, unless SSG all the other SSR variants including, Reacts new RSC etc, will all come with server costs. But like you say, a hybrid option would certainly be a good idea, especially a mix of SSG & CSR, this mix should then keep server costs down.
@chasec4897
@chasec4897 Ай бұрын
But how is any one of the methodologies created ? how do I create a web app having ssr or isr or even csr? I know on NextJS we created specific components to be csr, but what about isr and the others?
@kemekenneth
@kemekenneth Ай бұрын
Did I hear "everytime that I create a new blog article, I just rebuild..." I want the benefit of SSG without rebuilding anytime I publish a new article.
@mattskelton7471
@mattskelton7471 7 ай бұрын
I miss the good 'ol LAMP days.
@arijitroy5695
@arijitroy5695 7 ай бұрын
Could you please provide an examples of each different technique in your KZfaq channel.
@user-ut4hj7kc1t
@user-ut4hj7kc1t 4 ай бұрын
Love there colors)
@alitonoliveira1700
@alitonoliveira1700 7 ай бұрын
For some reason revalidate does not seems to work for ISR. For me, ISR is working just like SSR.
@Daddyjs
@Daddyjs 7 ай бұрын
You have to set when the cache should re validate the data.
@iMagicGraalOnline
@iMagicGraalOnline 7 ай бұрын
I would love to see another channel called just "Dev Simplified" where Kyle helps us out with other languages and areas of development. Would be very refreshing
@mr_hassanali
@mr_hassanali 7 ай бұрын
Thanks
@samislam2746
@samislam2746 6 ай бұрын
Please make server components video 😢
@aleattorium
@aleattorium 7 ай бұрын
For aaall that isn't it less complex to just do things in a framework like Elixir and use liveview?
@mikescholz6429
@mikescholz6429 7 ай бұрын
My first SSR is old enough to legally drink already lol
@vaaljan
@vaaljan 6 ай бұрын
SSR -> Doing the work on your server, means you pay right. If the user does the work. nobody pays. So when that scales to like Million users you gonna get a pretty aws bill. Think combination of csr and ssr makes sense to me
@RandomGeometryDashStuff
@RandomGeometryDashStuff 7 ай бұрын
02:18 how is it server rendered if server just sends html and client does rendering to screen?
@bo-kaiwang5189
@bo-kaiwang5189 7 ай бұрын
To my understanding, 'rendering' in SSR and CSR means to generate your html contents (texts, images, etc), so in SSR, the server has already generated those things and what the client only needs do is produce the visual representation of your html contents. On the other hand, in CSR, the server doesn't generate your real html contents. The client generates those things and produces the visual representation
@aytviewer2421
@aytviewer2421 6 ай бұрын
CSR = Client Service Request It's been used for 20-30 years. This is an ongoing problem it the IT/Development world. Folks keep repurposing acronyms that are already in place.
@jonathangamble
@jonathangamble 7 ай бұрын
No Black Friday deals?
@mecozir
@mecozir 7 ай бұрын
if run is style basic make does code exit password
@CheskerHard63
@CheskerHard63 7 ай бұрын
wow thanks you
@LaLoses
@LaLoses 4 ай бұрын
You missed one thing. 💸💸Pricing!!! If the server does many builds, it will increase the memory usage and will impact the monthly bill. Or doesn't? What its your experience? Going full CSR is the cheapest?
@LaLoses
@LaLoses 4 ай бұрын
Great video tho
@user-iu6hu8oq5p
@user-iu6hu8oq5p 7 ай бұрын
Thank you for the video. I'm not sure where the breaking point for CSR is exactly though. I've never seen any client-side problems with CSR for the sites I've built. Is there like a rule of thumb for this that is more specific than just "as your application scales"? And how should one exactly look for problems with CSR?
@wekesirken6961
@wekesirken6961 7 ай бұрын
What's up Kyle
@bmehder
@bmehder 7 ай бұрын
What would we do with Kyle? We got to pull together and get my man a double guitar stand and maybe a picture or two for those walls.
@tognolibsas
@tognolibsas Ай бұрын
in CSR build time should be less.
@mecozir
@mecozir 7 ай бұрын
related table throw IDE
@Daddyjs
@Daddyjs 7 ай бұрын
ISR FOR THE WIN
@sandorturbucz425
@sandorturbucz425 6 ай бұрын
Wheel reinvented over and over again and again. Let me guess the next BS acronym in this series: HSG: Hybrid Site Generation - this combines the benefits of SSR, SSG and ISR, with literally no downsides at all - all of your pages can be generated in a mixed manner, some parts of the page is staticly built, other chunks are dynamic and hydrated, with interactivity. Your turn what's next? Hmm maybe I will write a framework for writing frameworks that can produce a new page generator strategies in no time.
@regime5070
@regime5070 6 ай бұрын
I know them but not as acronmysm
@redgood5879
@redgood5879 7 ай бұрын
they means: CHAOS
@re.liable
@re.liable 7 ай бұрын
ISR: International Space Ranger
@64_bit_coding
@64_bit_coding 7 ай бұрын
hello
@typoerror177
@typoerror177 7 ай бұрын
you forgot one acronym: PHP
@TheBlackGentlemanGeek
@TheBlackGentlemanGeek 7 ай бұрын
They should add SSJ, SSJ2, SSJ3, etc., to make it more dragon ball. What about USSR for the OG’s… CIA, FBI, anyone? Relax guys, I’m trolling.
@code.design
@code.design 7 ай бұрын
Just like the Beatles. I use USSR.
@TylerR909
@TylerR909 7 ай бұрын
Didn't even say CMS once! Edit: 'ope, there it is
@cv3509
@cv3509 7 ай бұрын
Hey Kyle, Those are not Acronyms. They are called abbreviations or Initialism. 😊
@axMf3qTI
@axMf3qTI 7 ай бұрын
so where does htmx fall? it's the old way or ssg with dynamic html insert into the page, i'll guess that part ssr. when i first heard about ssr i thought that's what it meant html snippets send to the browser.
@Joe-SoftwareEngineer
@Joe-SoftwareEngineer 7 ай бұрын
SSR? CSR? SSG? ISR? WTF? 😄😄
@paxdriver
@paxdriver 6 ай бұрын
They are "initialisms" not "acronyms" I'm not trying to be a douche correcting you, but I believe educational content merits strict scrutiny for posterity, that's all.
@vichetnoeng706
@vichetnoeng706 7 ай бұрын
Which one is great for SEO?
@tom_cl_1342
@tom_cl_1342 7 ай бұрын
I guess all of them except CSR? I hope one day the bots are "smart" enough and we don't need to worry about SEO when using CSR😅
@Dev-Siri
@Dev-Siri 7 ай бұрын
​@@tom_cl_1342 even if the bots were "smart" enough, CSR SEO is far from ideal
@DamirSecki
@DamirSecki 7 ай бұрын
All of them are, even CSR. Sionce most of the search engines run headless browsers and compile and run JS just fine. But you do get some benefits from SSR/SSG and the other one in terms of speed, since the search engines favor speed a bit more (especially SSG is great for that).
React Server Components Change Everything
15:48
Web Dev Simplified
Рет қаралды 191 М.
Speed Up Your React Apps With Code Splitting
16:50
Web Dev Simplified
Рет қаралды 369 М.
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 121 МЛН
ТАМАЕВ vs ВЕНГАЛБИ. ФИНАЛЬНАЯ ГОНКА! BMW M5 против CLS
47:36
How This Test Saved Kent’s Site
7:04
Web Dev Simplified
Рет қаралды 82 М.
10 Tailwind Classes I Wish I Knew Earlier
13:31
Web Dev Simplified
Рет қаралды 165 М.
The Most Important Skill You Never Learned
34:56
Web Dev Simplified
Рет қаралды 161 М.
Liskov: The Liskov Substitution Principle
4:23
Turing Awardee Clips
Рет қаралды 19 М.
You Suck At Accessibility (But You Don't Have To)
13:23
Web Dev Simplified
Рет қаралды 52 М.
Is Drizzle Really Better Than Prisma?
20:15
Web Dev Simplified
Рет қаралды 69 М.
What is CSR SSR SSG and ISR
16:57
Hitesh Choudhary
Рет қаралды 45 М.
Learn TypeScript Generics In 13 Minutes
12:52
Web Dev Simplified
Рет қаралды 225 М.
CSS Anchor Is The Best New CSS Feature Since Flexbox
15:39
Web Dev Simplified
Рет қаралды 358 М.
Do you REALLY need SSR?
18:15
Theo - t3․gg
Рет қаралды 160 М.
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 121 МЛН