varnish

pecl install varnish

Varnish Cache bindings

Varnish Cache is an open source, state of the art web application accelerator. The extension makes it possible to interact with a running varnish instance through TCP socket or shared memory.

Maintainer

  • Anatoliy Belsky (lead )

Details

Stars: 3
Downloads: 71984
0.6
13 years ago
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.
Version 0.6 change log


- VarnishAdmin
* VarnishAdmin:ban() bases on the vcl ban commando
* VarnishAdmin::banUrl() bases on the vcl ban.url commando
* Arguments are passed to the varnish as given, which is probably a better idea than parsing
them on the php side one more time. The return status value can be used to check if the command
was successful.
* improved VarnishAdmin::isRunning()
- added VarnishLog class
* VarnishLog::getLine()
* VarnishLog::getTagName()
* Varnish log tag list
* Can now read log records from a running varnishd SHM. Not sure, whether more functionality would be sensible, as it requires to run as daemon.

requires:

  • php >=5.3
  • pearinstaller >=1.4.0
  • os