Open francisneedham opened 2 months ago
production
https://nitrocachetest.netlify.app/test_swr_time
In this app i have one route setup like this
export default defineNitroConfig({ srcDir: "server", routeRules: { '/test_swr_time': { swr: 10 }, '/test_swr_true': { swr: true } } });
Expected result is that every 10 seconds i should see the cache regenerate but is not, is cached forever
the code of the app is here https://bitbucket.org/displaydevteam/nitro_test/src/main/
with a swr 10 setting i exect the page to change every 10 second by invalidating the cache, but is not happening.
This is related to this https://github.com/nuxt/nuxt/issues/25418#issuecomment-2228954510
No response
bitbucket code link not working for me
Hi, sorry here is the right link https://bitbucket.org/francis_needham/nitro_test/
same here !
any updates ?
Environment
production
Reproduction
https://nitrocachetest.netlify.app/test_swr_time
In this app i have one route setup like this
export default defineNitroConfig({ srcDir: "server", routeRules: { '/test_swr_time': { swr: 10 }, '/test_swr_true': { swr: true } } });
Expected result is that every 10 seconds i should see the cache regenerate but is not, is cached forever
the code of the app is here https://bitbucket.org/displaydevteam/nitro_test/src/main/
Describe the bug
with a swr 10 setting i exect the page to change every 10 second by invalidating the cache, but is not happening.
Additional context
This is related to this https://github.com/nuxt/nuxt/issues/25418#issuecomment-2228954510
Logs
No response