1.0.7 • Published 4 months ago

strapi-plugin-revalidate-button v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Strapi plugin Revalidate Button

The plugin comes as a solution to the problem that Webhook does not have a solution for a manual run, and we want to allow the user to first check his content in Preview.

The user can press a button called "Revalidate" after he has looked at the Preview and he is sure of the new content and manually refer to the page (Next.js) that will update the new content.

The button takes the link from Strapi's webhooks. You must add a line in the webhooks called Revalidate. Our recommendation is to enable the trigger of the Webhooks only to perform Publish or Unpublish.

Installation

yarn add strapi-plugin-revalidate-button@latest

Enabled the Plugin in plugins.js file

// ./config/plugins.js
'use strict';

module.exports = {
  'revalidate-button': {
    enabled: true,
  },
};

Add row on Webhoock config

Go to edit view

1.0.7

4 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.0

10 months ago