Fastly’s Wordpress plugin is, at it’s core, a PHP wrapper for our public API that integrates with Wordpress’ publishing.
The plugin ships with two main features:
- An admin interface that allows to control Purge All and Surrogate Key functionality.
- Single object purging integrated with post purging (publishing or editing a post purges the object from the cache)
The plugin also configures headers for proper caching.
Installation should be easy, but if you need the source, it’s at https://github.com/fastly/wordpress-plugin