this post made my day, really !! i was struggling for weeks with request in cache, and by adding dynamic key to my request, it fix everything !
is someone comes over here :
const { data: story } = await useAsyncData(`articleStory:${slug}` ,
async () => {
const response = await
storyblokApi.get(`cdn/stories/articles/${slug}`, {
version: version,
resolve_relations: "post.categories,post.related",
});
return response.data.story || null;
});
cheers all