Descrição
Next.js On-Demand Revalidation for WordPress on the post update, revalidate specific paths on the post update.
Feel free to create a PR to plugin Github repo.
Instalação
- Search for the plugin in WordPress under “Plugins -> Add New”.
- Click the “Install Now” button, followed by “Activate”.
- Add Next.js URL and Revalidate Secret Key in the Settings -> Next.js On-Demand Revalidation
- In your Next.js project add a new file
/pages/api/revalidate.ts
with a code snippet, you’ll find here. - Add
REVALIDATE_SECRET_KEY
env variable to your Next.js with Revalidate Secret Key value you added in the Plugin Settings.
Avaliações
Este plugin não tem avaliações.
Contribuidores e programadores
“On-Demand Revalidation” é software de código aberto. As seguintes pessoas contribuíram para este plugin:
ContribuidoresTraduza o “On-Demand Revalidation” para o seu idioma.
Interessado no desenvolvimento?
Consulte o código, consulte o repositório SVN, ou subscreva o registo de alterações por RSS.
Registo de alterações
1.1.3
- fix: Add old permalink tracking to revalidation process from @humet
1.1.2
- fix: reduce unnecessary revalidations from @humet
1.1.1
- Allow custom taxonomies revalidation from @humet
1.0.16
- fix from @slimzc
1.0.15
- Add postId to revalidation request
1.0.13
- Add Disable scheduled revalidation option
1.0.11
- Connect with Cloudflare purge cache plugin
1.0.9
- Update readme, minors. Thank you @gibix!
1.0.8
- Fix: ensure correct deep paths for posts. Thank you @pressoholics!
1.0.7
- Fix: address conflicts with wpgraphql plugin. Thank you @pressoholics!
1.0.6
- add filter on_demand_revalidation_paths