Environment
Related to this: nuxt/nuxt#34307
swr: 0 should be handled same way like max-age=0.
If I'm correct, I already have a PR ready for Nitro and ocache.
Reproduction
Nuxt config:
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
routeRules: {
'/**': { swr: 0 },
},
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
});
swr: 0 === swr: false
Describe the bug
swr: 0 should be the same as max-age=0.
Additional context
No response
Logs
Environment
Related to this: nuxt/nuxt#34307
swr: 0should be handled same way likemax-age=0.If I'm correct, I already have a PR ready for
Nitroandocache.Reproduction
Nuxt config:
swr: 0 === swr: false
Describe the bug
swr: 0should be the same asmax-age=0.Additional context
No response
Logs