nuxt-ssr-cache
nuxt-ssr-cache copied to clipboard
Infinite reloading page with dev build progress bars
OS: MacOS Node: 10.15 Nuxt: 2.6.2
Steps to reproduce:
- Enable module
- Run in cli: nuxt
- Open localhost:3000
After build finished I have infinite reloads:
Module settings:
export const cache = {
useHostPrefix: true,
store: {
type: 'memory',
// maximum number of pages to store in memory
max: 100,
// number of seconds to store this page in cache
ttl: 3600,
},
pages: [
'/',
],
}
i have this issue too
OS: Win10 Node: 10.14.1 Nuxt:2.9.2
my cache config is almost same as cyberz
Hi, you should try to :
- shutdown the running server
- delete .nuxt folder
- run the server
It worked for me
I have the same issue with the redis cache.
This is what was stored in the key causing the problem:
"false"
It seems the author has not been working on it. This issue is fixed in my fork repo. I also added more features to it. You can try that fork: https://www.npmjs.com/package/@kimyvgy/nuxt-page-cache.