Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk Publish/Unpublish: Cache not busted #69

Open
jpizzle34 opened this issue Sep 5, 2023 · 0 comments
Open

Bulk Publish/Unpublish: Cache not busted #69

jpizzle34 opened this issue Sep 5, 2023 · 0 comments
Labels
issue: enhancement New feature or request source: plugin version: Strapi 4 Issues related to the versions supported by Strapi 4

Comments

@jpizzle34
Copy link

The cache doesn't seem to be busted when performing a bulk publish/unpublish operation via the strapi admin collection 'list view'. Cache is busted correctly when updating entries individually in the 'detail' view, including when Publishing/unpublishing. Anyone else experiencing this?

My ./src/config/plugins.ts config:

module.exports = {
  "drag-drop-content-types": {...},
  seo: {...},
  ckeditor: {...},
  graphql: {
    enabled: true,
    playgroundAlways: true,
  },
  "rest-cache": {
    enabled: true,
    config: {
      provider: {
        name: "memory",
        options: {
          max: 32767,
          maxAge: 3600,
        },
      },
      strategy: {
        debug: true,
        enableEtag: true,
        enableXCacheHeaders: true,
        enableAdminCTBMiddleware: true,
        clearRelatedCache: true,
        contentTypes: [
          // list of Content-Types UID to cache
          "api::post.post",
        ],
      },
    },
  },
};

"@strapi/strapi": "4.13.2",
"pg": "8.11.3",
"strapi-plugin-rest-cache": "^4.2.8"

@Boegie19 Boegie19 added issue: enhancement New feature or request source: plugin labels Oct 7, 2023
@derrickmehaffy derrickmehaffy added the version: Strapi 4 Issues related to the versions supported by Strapi 4 label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: enhancement New feature or request source: plugin version: Strapi 4 Issues related to the versions supported by Strapi 4
Projects
None yet
Development

No branches or pull requests

3 participants