On-Demand Revalidation

Opis

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.

Instalacija

  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.

Recenzije

Nema recenzija za ovaj dodatak.

Suradnici i Programeri

“On-Demand Revalidation” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom dodatku.

Suradnici

Prevedite “On-Demand Revalidation” na svoj jezik.

Zainteresirani ste za razvoj?

Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.

Dnevnik promjena

1.0.6

  • add filter on_demand_revalidation_paths