maciejmrozinski/reactphp-varnish-esi-booster
Composer 安装命令:
composer require maciejmrozinski/reactphp-varnish-esi-booster
包简介
Varnish Esi Booster is an asynchronous, PSR-7 and PSR-15 compatible middleware using ReactPHP
关键字:
README 文档
README
Varnish Esi Booster is an asynchronous, PSR-7 and PSR-15 compatible middleware using ReactPHP.
It will prefetch all Your Esi blocks found in response body. This will speed up Esi blocks processing. Normally Varnish will process Your Esi blocks one by one, synchronously.
Usage
You can find example usage of this library in examples directory. There are three examples:
- Simple usage
- with Relay library (https://github.com/relayphp/Relay.Relay)
- with Zend Stratigility library (https://github.com/zendframework/zend-stratigility)
To test examples You need to install dev requirements with composer.
Esi blocks format
Booster will look for Esi blocks defined as follow:
<esi:include src="URL"/>
统计信息
- 总下载量: 63
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-21