~/talk

Boost Navigation Speed with Nuxt's Data Caching

Talkat Vue.js Forge 2024 · on Thursday, 2024-11-14· [vue, frontend-architecture]
slides:none on file

Shows a concrete pattern using Nuxt 3's useFetch lazy:true and useNuxtData('meals') to drive navigation timing. Code checks a cachedMeals value and chooses lazy response when cache exists or blocks navigation to fetch on first visit. Result: cached response renders immediately, initial visit waits for data, and stale cache is invalidated in the background and swaps to fresh data when available.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.