PHP toolkit for working with Varnish cache
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
wordpress-plugin
LICENSE
README.md
VarnishAdminSocket.php
example-admin.php
wordpress-plugin.php

README.md

php-varnish

PHP tools for working with Varnish reverse proxy cache.

Admin socket

This package includes an admin socket class, which PHP applications can use to interface with the varnishadm program.
Common tasks would include checking the health of caches and purging when site content needs refreshing.

Wordpress plug-in

This package includes a Wordpress plug-in. See wordpress-plugin/README.md

Todo

  • Add short cut methods for all admin commands
  • Sanitise admin command parameters, such as regexp
  • HTTP tools
  • Drupal module

License

The whole php-varnish package, is released under the MIT license, see LICENSE.