I'm using Vue 3 <keep-alive>. When I don't use :key it caches (improperly across different URLs as expected).
By adding
<router-view :key="$route.fullPath" v-slot="{ Component }">
<keep-alive>
<component :is="Component" />
</keep-alive>
</router-view>
I would think that it only makes an API call if the cache key doesnt exist, so that when I go to a different route and come back, it won't make a second api call.
But when I add :key="$route.fullPath" now it makes an API call every single time even if I revisit the same URL?