arash16 / nuxt-ssr-cache

Cache middleware for nuxt's SSR rendering.
MIT License
295 stars 64 forks source link

Nuxt 3 Fatal Error #11

Open 1hakr opened 5 years ago

1hakr commented 5 years ago

I'm seeing this warning when using memcached config in the cache. Not sure whats causing this.

Nuxt 3 Fatal Error

My current cache nuxt.config.js

  cache: {
    useHostPrefix: true,
    store: {
      type: 'multi',
      stores: [
        {
          type: 'memory',
          max: 100,
          ttl: 1800
        },
        {
          type: 'memcached',
          max: 1000,
          ttl: 3600,
          options: {
            hosts: ['127.0.0.1:11211'],
            maxValueSize: 5242880
          }
        }
      ]
    },
    pages: ['/']
  },

When i remove memcached, i dont see this warning at all