Open
Description
The PURGE method works normally, but the PURGE log is not saved correctly.
Sometimes the PURGE is logged, but most of the time it is not. Do you know if it is something related to the plugin or a specific configuration?
The MISS, HIT and HITPASS operations are logged correctly.
- Strapi V4.17.1
- strapi-plugin-redis V1.1.0
- strapi-plugin-rest-cache V4.2.9
- strapi-provider-rest-cache-redis V4.2.9
Config:
redis: {
enabled: true,
config: {
connections: {
default: {
connection: cacheObjConnection,
settings: {
debug: true,
},
},
},
},
},
'rest-cache': {
enabled: true,
config: {
provider: {
name: 'redis',
getTimeout: 4000,
options: {
connection: 'default',
},
},
strategy: {
debug: true,
enableETag: true,
enableXCacheHeaders: true,
enableAdminCTBMiddleware: true,
resetOnStartup: false,
clearRelatedCache: true,
keysPrefix: 'rest-cache',
maxAge: 259200000, // 3 days
contentTypes: [ ... ],
},
},