zangetsu
Nuxt 3.16.1 - getCachedData not working (?)
Hi,
I was watching a video by Alexander Lichter about caching API calls in Nuxt and decided to test this approach in my Nuxt app.
I copied and pasted the code exactly as shown:
However, when I debug nuxtApp.payload.data or nuxtApp.static.data[key], even if the API has been called 40 times, Nuxt doesn't save the data.
I even added this to my nuxt.config:
13 replies