Skip to content

Varnish Esi Booster is an asynchronous, PSR-7 and PSR-15 compatible middleware using ReactPHP

License

Notifications You must be signed in to change notification settings

maciejmrozinski/reactphp-varnish-esi-booster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reactphp-varnish-esi-booster

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:

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"/>