Caching in Nitro is one of its key aspects. In this video, we have a look at how to achieve caching in your Nitro-based application. Also works in Nuxt!
#nitro #nuxt #vue
---
Links and Resources:
🔗 10% Off for vuejs.de Conf with Code LICHTER https://conf.vuejs.de/tickets/?voucher=LICHTER
📺 @DejaVueFm #E018 - Insights from the Nuxt Team Retreat
---
Chaptermarks:
00:00 Intro
00:11 What is Nitro special about
00:38 Focus on caching
01:00 Our demo app
01:47 Caching with route rules
04:12 Enabling server-side SWR
05:35 Stale max age
06:28 Using defineCachedEventHandler
07:32 Change the cache key
09:54 Different storage providers
11:23 Further options
12:04 defineCachedFunction
16:27 Cache Invalidation
21:42 Wrapping up