Open issue-up[bot] opened 1 year ago
A configuration like this:
routeRules: { "/*": { swr: 3600 }, "/api/test": { swr: false }, },
Will still use a cache strategy for /api/test as swr is a shortcut for a number of properties. I think this is a little unintuitive and we can probably improve.
/api/test
swr
Note to all people finding this issue: The current workaround is setting { swr: false, cache: false } to achieve the desired behavior.
{ swr: false, cache: false }
A configuration like this:
Will still use a cache strategy for
/api/test
asswr
is a shortcut for a number of properties. I think this is a little unintuitive and we can probably improve.