定制 everyday/craft-incremental-static-regeneration 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

everyday/craft-incremental-static-regeneration

最新稳定版本:1.3.2

Composer 安装命令:

composer require everyday/craft-incremental-static-regeneration

包简介

A plugin that watches your entry changes and pings a URL of your choice

README 文档

README

This plugin is best used with a front-end framework that supports Incremental Static Regeneration, like Next.js.

The whole purpose of this plugin is to hit an API in your front-end, with the URI and siteHandle of the entry being updated, in order to trigger a rebuild of the front-end page.

Installation

composer require everyday/craft-incremental-static-regeneration

Features

  • Regenerate all pages when a global is updated.
  • Regenerate all entries that use a specific asset when an asset is updated.
  • Bypass ISR in preview mode.
  • Exclude specific globals or sections from sending a request to your front-end's API.
  • Allows adding custom triggers to accommodate any other use cases you may have.

Usage

Check out the wiki :)

Local development

You probably don't need this, so we've collapsed this section.

Installing the Composer dependencies:

docker run --rm \
    -u "$(id -u):$(id -g)" \
    -v $(pwd):/opt \
    -w /opt \
    craftcms/cli:8.1-dev \
    composer install --ignore-platform-reqs

统计信息

  • 总下载量: 94
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-02-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固