Eddie Jaoude
подписчиков: 43 тыс.
Make your app faster and more efficient easily with a few lines of code. NextJS is the React framework which has many features - including caching. There are a variety of caching strategies. In this video, I will demo how to cache a page including the data, for a fixed amount of time.
------
## FIND ME ON OTHER SOCIAL PLATFORMS
linkfree.io/eddiejaoude
## LEARN MORE
Get started with Open Source in 10mins
• How to contribute to o...
## JOIN our inclusive open source community EddieHub now for FREE
Discord: discord.com/invite/jZQs6Wu
GitHub Organisation: github.com/EddieHubCommunity
EddieHub Newsletter: www.eddiejaoude.io/newsletters
## COMMUNITY SPONSORS
A BIG thank you to my GitHub Sponsors:
***
DailyDotDev github.com/dailydotdev
Appwrite github.com/appwrite
GitHub Accelerator accelerator.github.com
***
## SERVICES I USE AND RECOMMEND
Some of these might be affiliate links but they're no extra cost you and you might get a discount if you sign up.
- Live streaming with Streamyard links.eddiejaoude.io/t/pYlzGjc...
- Cloud hosting with Digital Ocean, you will get $100 FREE credit links.eddiejaoude.io/t/EAaCRWh...
- Membership, Newsletters, CRM all in one with Kartra links.eddiejaoude.io/t/pQ5W3FR...
## SUBSCRIBE TO THIS CHANNEL FOR FREE
Don’t forget to support my channel by subscribing: ruplayers.com?s...
#nextjs #caching #ssr
Simple page caching with NextJS
Комментарии
Ravi Raj +2
Really nice feature to implement based on use case.
3 месяца назадEddie Jaoude
Thanks Ravi !!
3 месяца назадAli modz
Great video but can't you just cache serverSideProps as well using the below res.setHeader( 'Cache-Control', 'public, s-maxage=10, stale-while-revalidate=59' ) I was unable to test it because apparently it only works on vercel or something
12 дней назад