定制 sitegeist/turbocharger 二次开发

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

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

sitegeist/turbocharger

Composer 安装命令:

composer require sitegeist/turbocharger

包简介

Preheated caches by using a jobqueue to internally request all published documents.

README 文档

README

Ensure preloaded caches by using a jobqueue to asynchronously request all published documents to prefill all caches especially for routing, fusion and if installed full-page-caches.

Authors & Sponsors

The development and the public-releases of this package is generously sponsored by http://www.sitegeist.de.

Installation

By default the TurboCharger will use the fake-queue from Flowpack.JobQueue.Common but this will probably not work as you expect as it will process all jobs directly after the data has been persisted.

Asynchronous warmup via Flowpack.JobQueue.Doctrine

  1. Install a different job-queue implementation package that can persist the queue items like Flowpack.JobQueue.Doctrine.
composer require flowpack/jobqueue-doctrine
  1. Configure the queue sitegeist-turbocharger to be handled by that package.
Flowpack:
  JobQueue:
    Common:
      queues:
        'sitegeist-turbocharger':
          className: 'Flowpack\JobQueue\Doctrine\Queue\DoctrineQueue'
  1. Setup the queue sitegeist-turbocharger
 ./flow queue:setup sitegeist-turbocharger
  1. Run a worker sitegeist-turbocharger
 ./flow job:work --exit-after 3590 --queue sitegeist-turbocharger

Configuration

Sitegeist:
    TurboCharger:
        # enable the feature entirely
        enabled: true

        # Configure the url for fetching: the headers `Host` and `X-Forward-Proto` 
        # are used to simulate an external request. 
        # Use this to configure any special ports you may need like `http://localhost:8080`
        internalBaseUrl: 'http://localhost'

Contribution

We will gladly accept contributions. Please send us pull requests.

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2026-05-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固