Can't disable Vercel cache

I am deploying nuxt to Vercel and have NuxtAuth (Wrapper around NextAuth). I am having trouble preventing Vercel from caching any endpoint I have added no-cache, privateto the cache-control header yet on the same request I'm seeing x-vercel-cache: HIT I have also added '/api/**': { static: false, cache: false } to my routeRules in my nuxt config. Is there some setting on Vercel that I need to change?
1 Reply
dirtytinkle
dirtytinkleOP2y ago
I had to add isr: false to '/api/**': { static: false, cache: false }
Want results from more Discord servers?
Add your server