Installation:
You can either install from source (you\'re looking at it), or from the WordPress
plugin directory.
- To proceed with configuration you will need to sign up for Fastly and create and activate a new service (unless you already have one). Details of how to create and activate a new service can be found here. You will also need to find your Service ID and make a note of the string.
- You will need to create an API token with the Global API access option selected. Click here for token management screen.
- Set up the Fastly plugin inside your WordPress admin panel
- In your Wordpress blog admin panel, Under Fastly->General, enter & save your Fastly API token and Service ID
- Verify connection by pressing
TEST CONNECTION
button.
-
In order to get the most value out of Fastly we recommend you upload VCL snippets from https://github.com/fastly/WordPress-Plugin/tree/master/vcl_snippets. These snippets will add code for following
-
Force certain paths to be passed (not cached) e.g. wp-admin, wp-login.php
- Makes sure that logged in user sessions are never cached
- Handling for serving stale on error
You can upload them by hand or press
Update VCL
button in the UI.
For more information, or if you have any problems, please email us.
Note: you may have to disable other caching plugins like W3TotalCache or WP Rocket to avoid getting odd cache behaviour.
- Pulls in the Fastly API
- Integrates purging in post/page/taxonomies publishing
- Includes an admin panel in
wp-admin
- Integrates some of the advanced purging options from Fastly API
- Allows to monitor purging using webhooks for slack
Using this plugin means you won't have to purge content in Fastly when you make changes to your WordPress content. Purges will automatically happen with no need for manual intervention.