Problems to save data in redis database with strapi-plugin-redis

Hello everyone !!

I trying to add redis as cache in our Strapi Project but we wont have success.

We are using this libs:

  • strapi-plugin-rest-cache (v4.2.9)
  • strapi-plugin-redis (v1.1.0)
  • strapi-provider-rest-cache-redis (v4.2.9)

In our config/plugins.js set up like this:

module.exports = ({ env }) => ({
 'import-export-entries': {
   enabled: true,
 },
 upload: {
   config: {
     provider: 'aws-s3',
     providerOptions: {
       baseUrl: env('AWS_CLOUDFRONT'),
       s3Options: {
         credentials: {
           accessKeyId: env('AWS_ACCESS_KEY_ID'),
           secretAccessKey: env('AWS_ACCESS_SECRET'),
         },
         region: env('AWS_REGION'),
         params: {
           ACL: env('AWS_ACL', 'public-read'),
           Bucket: env('AWS_BUCKET'),
         },
       },
     },
   },
 },
 seo: {
   enabled: true,
 },
 redis: {
   config: {
     connections: {
       default: {
         connection: {
           host: 'url-to-redis-server',
           port: 10755,
           username: 'default',
           password: 'passWordToRedisServer',
         },
         settings: {
           debug: true,
         },
       },
     },
   },
 },
 'rest-cache': {
   config: {
     provider: {
       name: 'redis',
       options: {
         max: 32767,
         connection: 'default',
       },
     },
     strategy: {
       enableEtagSupport: true,
       logs: true,
       clearRelatedCache: true,
       maxAge: 60000, // 1 minute
       contentTypes: [
         'api::wyden.wyden',
         'api::wyden-footer-v2.wyden-footer-v2',
         'api::wyden-header-v2.wyden-header-v2',
         'api::wyden-home-page.wyden-home-page',
         'api::wyden-home-page-v2.wyden-home-page-v2',
       ],
     },
   },
 },
});

And in our config/database.js set up like this:

module.exports = ({ env }) => ({
  connection: {
    client: 'postgres',
    connection: {
      host: process.env.DATABASE_HOST,
      port: process.env.DATABASE_PORT,
      database: process.env.DATABASE_NAME,
      user: process.env.DATABASE_USERNAME,
      password: process.env.DATABASE_PASSWORD,
      ssl: env.bool('DATABASE_SSL', false),
    },
    debug: true,
    pool: {
      min: 20,
      max: 40,
    },
  },
  redis: {
    host: 'host-redis-server',
    port: 10755,
    username: 'default',
    password: 'passWordToRedisServer',
  },
});

the connection to the redis database is successful

we have a log of the database being configured together with the project run, but it does not save anything in the database, it is empty

it does not even make a redis log saying whether an operation was performed or not

Is there any configuration other than the ones we made to make this lib work correctly ?

image