Linux 软件免费装
Banner图

On-Demand Revalidation

开发者 bebjakub
更新时间 2024年4月19日 22:39
PHP版本: 8.0 及以上
WordPress版本: 6.5.2
版权: GPL-3
版权网址: 版权信息

标签

on-demand nextjs ssg revalidation

下载

1.0.6 1.2.2 1.0.10 1.1.2 1.1.3 1.2.3 1.2.4 1.0.4 1.0.7 1.0.2 1.0.3 1.0.5 1.0.11 1.0.12 1.0.13 1.0.15 1.0.8 1.0.9 1.1.0 1.0.14 1.0.16 1.1.1

详情介绍:

安装:

  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.

更新日志:

1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.3 1.1.2 1.1.1 1.0.16 1.0.15 1.0.13 1.0.11 1.0.9 1.0.8 1.0.7 1.0.6