nuxt-ssr-cache icon indicating copy to clipboard operation
nuxt-ssr-cache copied to clipboard

Infinite reloading page with dev build progress bars

Open cyberz opened this issue 5 years ago • 4 comments

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: Image of Yaktocat

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: [
    '/',
  ],
}

cyberz avatar Jul 23 '19 15:07 cyberz

i have this issue too

OS: Win10 Node: 10.14.1 Nuxt:2.9.2

my cache config is almost same as cyberz

sonofmagic avatar Sep 16 '19 02:09 sonofmagic

Hi, you should try to :

  • shutdown the running server
  • delete .nuxt folder
  • run the server

It worked for me

clementroche avatar Jun 17 '20 09:06 clementroche

I have the same issue with the redis cache.

This is what was stored in the key causing the problem:

"false"

bokub avatar May 05 '21 09:05 bokub

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.

kimyvgy avatar Oct 05 '21 02:10 kimyvgy