On-Demand Revalidation

Description

Next.js On-Demand Revalidation for WordPress on the post update, revalidate specific paths on the post update.

Feel free to create PR to plugin Github repo.

Installation

  1. Search for the plugin in WordPress under “Plugins -> Add New”.
  2. Click the “Install Now” button, followed by “Activate”.
  3. Add Next.js URL and Revalidate Secret Key in the Settings -> Next.js On-Demand Revalidation
  4. In your Next.js project add a new file /pages/api/revalidate.ts with a code snippet, you’ll find here.
  5. Add REVALIDATE_SECRET_KEY env variable to your Next.js with Revalidate Secret Key value you added in the Plugin Settings.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“On-Demand Revalidation” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.6

  • add filter on_demand_revalidation_paths