Wordpress plugins
Fastly

Fastly

Version : 1.2.1
Tested up to : 4.8.2
Number of download : 3627
Author : Fastly
Average rating : 5 / 5 on 1 votes 1 votes, 5 avg.rating

Screenshots

Fastly
Fastly
Fastly
Fastly

Usage: 1. To proceed with configuration you will need to sign up for Fastly (at fastly.com/signup) and create and activate a new service. Details of how to create and activate a new service can be found at Fastly’s documentation. You will also need to find your Service ID and make a note of the string. 2. From Fastly’s configuration interface, create an API token with the default scope and access level. Make a note of the credential. 3. Set up the Fastly plugin inside your WordPress admin panel 4. Once the plugin is installed into your WordPress instance, you will need to enter your API token and Service ID into the plugin’s configuration page. 5. That’s it! Everything should just work. In order to route production traffic through Fastly, you will likely need to change some records with your domain registrar. Refer to Fastly’s documentation for more instructions about which CNAME records to use. 6. In order to get the most value out of Fastly, you should create a number of VCL Snippets that let you define some custom logic for how the Fastly CDN should handle requests to your WordPress instance. You can add Snippets to your service from the side menu when editing the configuration of your Service version. These are the Snippets that you should create: https://github.com/fastly/WordPress-Plugin/tree/master/vcl_snippets For more information, or if you have any problems, please email us. Note: you may have to disable other caching plugins like W3TotalCache 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. Customization: Available wordpress hooks (add_action) on: Editing purging keys output purgely_pre_send_keys purgely_post_send_keys functions: add_keys Editing surrogate control headers output(max-age, stale-while-revalidate, stale-if-error) purgely_pre_send_surrogate_control purgely_post_send_surrogate_control functions: edit_headers, unset_headers Edit cache control headers output (max-age) purgely_pre_send_cache_control purgely_post_send_cache_control functions: edit_headers, unset_headers Example: add_action(\’purgely_pre_send_surrogate_control\’, \’custom_headers_edit\’); function custom_headers_edit($header_object) { $header_object->edit_headers(array(\’custom-header\’ => \’555\’, \’max-age\’ => \’99\’)); } About Fastly Fastly is the only real-time content delivery network designed to seamlessly integrate with your development stack. Fastly provides real-time updating of content and the ability to cache dynamic as well as static content. For any content that is truly uncacheable, we’ll accelerate it. In addition we allow you to update your configuration in seconds, provide real time log and stats streaming, powerful edge scripting capabilities, and TLS termination (amongst many other features). License Fastly.com WordPress Plugin Copyright (C) 2011,2012,2013,2014,2015,2016,2017 Fastly.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Download now