We're using nitros routeRules to store pregenerated html in a cloudflare KV.
We want all pages to have a cache wrapper and specify it via
'/*': { swr: 60 },
There is also sensitive user based content that should not be cached.
'/user/*': { ssr: false, swr: false, cache: false },
That does generate the following nitro.routeRules
"/*": {
"swr": 60,
"cache": {
"swr": true,
"maxAge": 60
}
},
"/user/*": {
"ssr": false,
"swr": false,
"cache": false
},
Now I'd expect any page behind user/ to be ignored but there are payload.jsons generated on initial call.
Am I missing anything?