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
- Martin Ficzel - ficzel@sitegeist.de
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
- Install a different job-queue implementation package that can persist the queue items like
Flowpack.JobQueue.Doctrine.
composer require flowpack/jobqueue-doctrine
- Configure the queue
sitegeist-turbochargerto be handled by that package.
Flowpack: JobQueue: Common: queues: 'sitegeist-turbocharger': className: 'Flowpack\JobQueue\Doctrine\Queue\DoctrineQueue'
- Setup the queue
sitegeist-turbocharger
./flow queue:setup sitegeist-turbocharger
- 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
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2026-05-05