diff --git a/config/plugins.js b/config/plugins.js index 7588585..f8e3050 100644 --- a/config/plugins.js +++ b/config/plugins.js @@ -16,4 +16,23 @@ module.exports = ({env}) => ({ defaultReplyTo: env('SMTP_REPLY_TO'), }, }, + 'rest-cache': { + config: { + provider: { + name: 'memory', + options: { + max: 32767, + maxAge: 3600 + } + }, + strategy: { + contentTypes: [ + 'api::artiste.artiste', + 'api::parole.parole' + ], + debug: true, + hitpass: false + } + } + }, })