Myvideo

Guest

Login

Alexander Lichter Nuxt 3.8 - Client-side caching with getCachedData

Uploaded By: Myvideo
4 views
0
0 votes
0

🎯 Загружено автоматически через бота: 🚫 Оригинал видео: 📺 Данное видео принадлежит каналу «Alexander Lichter» (@TheAlexLichter). Оно представлено в нашем сообществе исключительно в информационных, научных, образовательных или культурных целях. Наше сообщество не утверждает никаких прав на данное видео. Пожалуйста, поддержите автора, посетив его оригинальный канал. ✉️ Если у вас есть претензии к авторским правам на данное видео, пожалуйста, свяжитесь с нами по почте support@, и мы немедленно удалим его. 📃 Оригинальное описание: ⚡️ Nuxt 3.8 was released just a day ago, packed with lots of amazing features. Among the updates, one change for `useFetch` and `useAsyncData` is pretty significant IMO - `getCachedData`. In this video, we will explore how that function can avoid superfluous calls to an API and cache data for visitors on the client, either until a hard-reload or even with a custom TTL logic. Key Takeaways: 🛠️ What is getCachedData 🚀 How to avoid extra requests if fetching data once is sufficient ⚡️ Where to put the logic for custom caching mechanisms Links: 🔗 Code: 🔗 Vue directive docs: 🔗 Nuxt 3 docs: #params Whether you're a pro or a newbie, this video is packed with valuable insights and practical examples to make your websites more user-friendly and dynamic. Don't forget to hit that “Subscribe“ button, ring the notification bell and give a thumbs up! 🌐 Connect further: Website: Twitter/X: Twitch: Chapters: Intro Explaining getCachedData in Nuxt 3.8 A simple getCachedData implemenetation getCachedData with custom TTL logic Summary #Nuxt3 #vuejs #nuxtjs #webdevelopment #frontend #frontenddeveloper #caching #ssr #getCachedData

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later