forked from fastly/WordPress-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
toshiaizawa/WordPress-Plugin
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
=== Fastly === Contributors: fastly Tags: fastly, cdn, performance, speed, spike, spike-protection, caching, dynamic, comments, ddos Requires at least: 3.2 Tested up to: 4.5.2 Stable tag: trunk License: GPLv2 Integrates Fastly with WordPress' publishing tools. Deprecated: use Condé Nast's "Purgely" plugin instead. == Deprecated == This is the official Fastly plugin for WordPress. It is deprecated and we recommend using Condé Nast's "Purgely" plugin instead. The official code repository for this plugin is available here: https://github.com/fastly/WordPress-Plugin/ == Description == Take a look at the inline comments in the [code](https://github.com/fastly/WordPress-Plugin/tree/master/lib) for an in depth description. But, the plugin: - Pulls in the [Fastly API](http://docs.fastly.com/api) - Wires Instant Purging into the publishing process, keeping content up to date - Includes an admin panel in `wp-admin` 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. == Installation == You can either install from source (you're looking at it), or from the WordPress [plugin directory](http://wordpress.org/plugins/fastly/). 0. If you don't already have it send us a support request asking to have the WordPress feature turned on for your account. 1. Add a new WordPress config to a Service and set up the path to the Wordpress install. Examples: - If your blog is at `http://blog.example.com/`, your path is `/` - If your blog is at `http://example.com/blog/`, your path is `/blog/` 2. Deploy the new Version of the Service. 3. With your API key and the Service id in hand, install the plugin under WordPress. 4. Set up the Fastly plugin inside your Wordpress config panel - you should just have to input the API key and the Service id that you noted in the last step. 5. That's it! Everything should just work. 🤘 If you have any problems, email us. _Note: you may have to disable other caching plugins like W3TotalCache to avoid getting odd cache behaviour._ _Note: you can enable "soft" purging for urls. You can read more about soft purging [here](https://www.fastly.com/blog/introducing-soft-purge-more-efficient-way-mark-outdated-content) and [here](https://docs.fastly.com/guides/purging/soft-purges)._ == Prequisites == The server must have "php5-curl" installed on the server you are hosting Wordpress with e.g `sudo apt-get install php5-curl` == Screenshots == 1. Configuration == Changelog == = 1.1 = * Include fixes for header sending * Enable "soft" purging = 1.0 = * Mark as deprecated * Recommend Purgely from Condé Nast * Add in link to GitHub repo = 0.99 = * Add a guard function for cURL prequisite * Bring up to date with WP Plugin repo standards = 0.98 = * Security fixes for XSS/CSRF * Only load CSS/JS on admin page * Properly enqueue scripts and styles * Use WP HTTP API methods * Properly register scripts = 0.94 = * Change to using PURGE not POST for purges * Correct URL building for comments purger = 0.92 = * Fix bug in port addition = 0.91 = * Make work in PHP 5.3 = 0.9 = * Fix comment purging = 0.8 = * Fix url purging = 0.7 = * Fix category purging = 0.6 = * Remove bogus error_log call = 0.5 = * Switch to using curl * Change PURGE methodology * Performance enhancements == 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 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/>.
About
The Official Fastly WordPress Plugin
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- PHP 89.9%
- JavaScript 8.3%
- CSS 1.5%
- Shell 0.3%