|
I'm new to SWR routeRules, it is possible to use SWR strategy without 'set-cookie' header in the response on cached request, so that it doesn't override the current request's cookie? |
Replies: 2 comments 5 replies
|
Hi dear @andrewspy. When you enable any of caching strategies, (incoming) headers are totally ignored and But not in response. Why you are setting |
|
Hi @pi0. In my context, I'm using nuxt3 with firebase hosting / cloud functions, where special I was using SSR previously and it works flawlessly, just wanted to explore SWR, but didn't know Thanks for the explanation. |
Hi dear @andrewspy. When you enable any of caching strategies, (incoming) headers are totally ignored and
req.headersis an empty object.But not in response. Why you are setting
set-cookiein a cached handled that requires to be removed?